You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// cli.jscli.command('init','description',(input,flags)=>{})// or omit the handler function to use an external filecli.command('init','description')// then we get the handler function by `require('./cli-init')`
Option
// cli.jscli.option('w, watch','description')// this will be included i top-level command's help// eg: `node cli.js --help`cli.option('w, watch','description',{command: 'init'})// this will be included in subcommand `init`'s help// eg: `node cli.js init --help`
The text was updated successfully, but these errors were encountered:
cac
is going to be likecommander.js
more while keeping the good part ofminimist
.Require
Command
Option
The text was updated successfully, but these errors were encountered: