File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ export { run } from '@oclif/core'
Original file line number Diff line number Diff line change 1+ export function printSplash ( ) {
2+ const darkGray = '\x1b[90m' ;
3+ const end = '\x1b[0m' ;
4+ console . log ( "" ) ;
5+ const monthDay = new Date ( ) . getMonth ( ) * 100 + new Date ( ) . getDate ( ) ;
6+ if ( monthDay > 1215 ) {
7+ console . log ( "┌────── * ┌─────. ╷ .────." ) ;
8+ console . log ( "│ _/_\\_ │ │ │ ╱ ╲ " ) ;
9+ console . log ( "├───── _/___\\_ ├─────: │ │ │" ) ;
10+ console . log ( "│ _/_____\\_ │ │ │ ╲ ╱ " ) ;
11+ console . log ( `╵ |_| └─────' └────── '────' v${ process . env . FABLO_VERSION || '' } ` . padEnd ( 80 ) ) ;
12+ } else {
13+ console . log ( "┌────── .─. ┌─────. ╷ .────." ) ;
14+ console . log ( "│ / \\ │ │ │ ╱ ╲ " ) ;
15+ console . log ( "├───── / \\ ├─────: │ │ │" ) ;
16+ console . log ( "│ /───────\\ │ │ │ ╲ ╱ " ) ;
17+ console . log ( `╵ / \\ └─────' └────── '────' v${ process . env . FABLO_VERSION || '' } ` . padEnd ( 80 ) ) ;
18+ }
19+ console . log ( `${ darkGray } ┌┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┐` ) ;
20+ console . log ( "│ https://fablo.io | created at SoftwareMill | backed by Hyperledger Foundation│" ) ;
21+ console . log ( `└┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┘${ end } ` ) ;
22+ }
23+
24+
25+
You can’t perform that action at this time.
0 commit comments