A light tool for creating your Jsapi demo projects.
npm install pokemon-cli -g
终端输入 pokemon
或者 pokemon -h
, 获取帮助:
Usage: pokemon <command>
Commands:
add|a Add a new template
list|l List all the templates
init|i Generate a new project
delete|d Delete a template
Options:
-h, --help output usage information
-V, --version output the version number
Note that if you are using
MacOS
,sudo
was required while using commandsadd
anddelete
.
添加模版
$ pokemon add
展示所有模版
$ pokemon list
创建项目
$ pokemon init
删除模版
$ pokemon delete
MIT.