npm i tgu-cli -g
或者 yarn global add tgu-cli
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
add add a new template // 新增脚手架的模板
delete delete a template // 删除脚手架的模板
list list all the templates // 列出所有模板
init generate a new project from a template // 初始化项目
help [cmd] display help for [cmd]
现有模板: koa-server