File tree 2 files changed +40
-2
lines changed
lib/node_modules/@stdlib/repl
2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,25 @@ var CLI = require( '@stdlib/tools/cli' );
28
28
var repl = require ( './../lib' ) ;
29
29
30
30
31
+ // VARIABLES //
32
+
33
+ var MSG = [
34
+ '' ,
35
+ 'A better REPL for Node.js.' ,
36
+ '' ,
37
+ ' help( alias ) Prints help text.' ,
38
+ ' examples( alias ) Runs examples.' ,
39
+ ' alias2pkg( alias ) Converts an alias to a stdlib package name.' ,
40
+ ' pkg2alias( pkg ) Converts a stdlib package name to an alias.' ,
41
+ ' namespace() Lists namespace contents.' ,
42
+ '' ,
43
+ 'For more info about stdlib, see the source repository:' ,
44
+ '' ,
45
+ ' https://github.com/stdlib-js/stdlib' ,
46
+ ''
47
+ ] . join ( '\n' ) ;
48
+
49
+
31
50
// MAIN //
32
51
33
52
/**
@@ -44,7 +63,7 @@ function main() {
44
63
'encoding' : 'utf8'
45
64
} )
46
65
} ) ;
47
- console . log ( 'Starting REPL...' ) ; // eslint-disable-line no-console
66
+ console . log ( MSG ) ; // eslint-disable-line no-console
48
67
repl ( onStart ) ;
49
68
50
69
/**
Original file line number Diff line number Diff line change @@ -28,6 +28,25 @@ var CLI = require( '@stdlib/tools/cli' );
28
28
var repl = require ( './../lib' ) ;
29
29
30
30
31
+ // VARIABLES //
32
+
33
+ var MSG = [
34
+ '' ,
35
+ 'A better REPL for Node.js.' ,
36
+ '' ,
37
+ ' help( alias ) Prints help text.' ,
38
+ ' examples( alias ) Runs examples.' ,
39
+ ' alias2pkg( alias ) Converts an alias to a stdlib package name.' ,
40
+ ' pkg2alias( pkg ) Converts a stdlib package name to an alias.' ,
41
+ ' namespace() Lists namespace contents.' ,
42
+ '' ,
43
+ 'For more info about stdlib, see the source repository:' ,
44
+ '' ,
45
+ ' https://github.com/stdlib-js/stdlib' ,
46
+ ''
47
+ ] . join ( '\n' ) ;
48
+
49
+
31
50
// MAIN //
32
51
33
52
/**
@@ -44,7 +63,7 @@ function main() {
44
63
'encoding' : 'utf8'
45
64
} )
46
65
} ) ;
47
- console . log ( 'Starting REPL...' ) ; // eslint-disable-line no-console
66
+ console . log ( MSG ) ; // eslint-disable-line no-console
48
67
repl ( onStart ) ;
49
68
50
69
/**
You can’t perform that action at this time.
0 commit comments