Skip to content

Commit f42e955

Browse files
committed
Add ansi logo.
Signed-off-by: Eric Wang <skygragon@gmail.com>
1 parent 77f5841 commit f42e955

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/commands/version.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,15 @@ cmd.handler = function(argv) {
1717
return console.log(version);
1818
}
1919

20-
console.log('leetcode-cli', version);
20+
var logo = [
21+
' _ _ _ ',
22+
'| | | | | | ',
23+
'| | ___ ___| |_ ___ ___ __| | ___ ',
24+
'| |/ _ \\/ _ \\ __|/ __|/ _ \\ / _` |/ _ \\',
25+
'| | __/ __/ |_ (__| (_) | (_| | __/',
26+
'|_|\\___|\\___|\\__|\\___|\\___/ \\__,_|\\___| CLI v' + version
27+
].join('\n');
28+
console.log(logo);
2129

2230
var h = require('../helper');
2331
console.log();

0 commit comments

Comments
 (0)