bud-cli
v2.0.0
Published
bud-cli
Downloads
9
Readme
模板管理脚手架
在我们平时开发的项目的时候经常遇到新建项目的时候把之前的项目copy后然后在npm install。
bud-cli可以实现对模板的管理,在初始化项目的时候可以选择不同的模板进行初始化项目
1.添加模块
bud add
bud add 可以添加模板,添加模板名、模板存放的GitHub地址、模板描述
2.使用模板
bud use
bud use 用户输入生成的项目名、选择项目模板后可生成模板项目
3.删除模板
bud d templetename
bud d 模板名,删除模板
4.查看所有模板
bud l
5.帮助
bud --help
6.默认模板
bud init projectname
默认生成基于dva-cli模板稍作处理的后项目模板