tpo-cli
v1.0.1
Published
## 技术栈 * node.js * es6 * commander (https://www.npmjs.com/package/commander) * inquirer (https://www.npmjs.com/package/inquirer) * chalk (https://www.npmjs.com/package/chalk)
Downloads
3
Readme
node 创建自定义工具
技术栈
- node.js
- es6
- commander (https://www.npmjs.com/package/commander)
- inquirer (https://www.npmjs.com/package/inquirer)
- chalk (https://www.npmjs.com/package/chalk)
介绍
- tpo-cli 是一款自主开发的类似vue-cli的交手架(tpo-cli),当前主要功能是配合项目复制base文件夹并粘贴到自定义文件名下(与base同级目录)
配置
- npm install tpoc
- 本地执行 npm link tpoc
使用
- tpoc init myproject (自动创建文件夹myproject并将base文件下的内容复制到myproject)
- useAllTpo YES|NO 配置是否单独使用 tpo组件