td2-cli
v0.1.2
Published
一个脚手架
Downloads
26
Readme
td2-cli
一个简易版脚手架:减少ctrl+c ctr+v的操作。可以直接生成api以及entity和对应的模块目录结构
安装
npm install -g td2-cli
查看是否安装成功
td2-cli --version
使用
- 创建一个模块
td2-cli add LoginAccountTest
- 主入口为其他命名,或者是
List.vue
, 默认为Main.vue
td2-cli add LoginAccountTest -m List
- 查看版本
td2-cli -v
- 查看其余指令
td2-cli -h