a template for creating inline commands base on commanderjs through typescript
git clone https://github.com/weijialiu06/ts-command-template.git
cd ts-command-template && npm install
npm run build
./bin/www.js
then you will get the info:
Usage: www [options] [command]
Options:
-V, --version current version of
-d, --directory <Directory> target directory
-D, --directory <Directory> the cache directory of
-o, --output <Directory> the target directory to output
-h, --help display help for command
Commands:
compress description of compress command
clear description of clear command