File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,11 @@ const cli = yargs(process.argv.slice(2))
143
143
. alias ( 'v' , 'version' )
144
144
. help ( 'help' )
145
145
. alias ( 'h' , 'help' )
146
+ . config (
147
+ 'options' ,
148
+ 'path to a JSON file or Common.js module containing CLI options' ,
149
+ require
150
+ )
146
151
. usage ( `${ pkg . name } @${ pkg . version } - ${ pkg . description } \n` )
147
152
. usage (
148
153
`[input] reads from stdin if --edit, --env, --from and --to are omitted`
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ Options:
36
36
[boolean]
37
37
-s, --strict enable strict mode; result code 2 for warnings, 3 for
38
38
errors [boolean]
39
+ --options path to a JSON file or Common.js module containing CLI
40
+ options
39
41
-v, --version display version information [boolean]
40
42
-h, --help Show help [boolean]
41
43
` ` `
You can’t perform that action at this time.
0 commit comments