easy-cmd
Easy to build command tool.
npm install easy-cmd --save-dev
Usage
bin/xxx.js
#!/usr/bin/env nodeconst cli = cli
command/sub-cmd.js
exportsoptions = desc: 'command description.' exports { // execute node module cmd}
Easy to build command tool.
npm install easy-cmd --save-dev
bin/xxx.js
#!/usr/bin/env nodeconst cli = cli
command/sub-cmd.js
exportsoptions = desc: 'command description.' exports { // execute node module cmd}
npm i easy-cmd
3
0.1.2
MIT