/command-line-template

使用typescript创建命令行工具的模版;a template for creating command line base on typescript

Primary LanguageTypeScript

ts-command-template

a template for creating inline commands base on commanderjs through typescript

Usage

  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