pro-tool
v1.2.3
Published
a tool for create a web project by templates
Downloads
9
Readme
pro-tool
前端脚手架,可以自定义模板,引用远程仓库模板,支持对模板的增删改查
项目使用:
1.使用npm install -g pro-tool
2.然后命令pro-cli就已经构建成功 可以使用pro-cli去查看命令
pro-cli使用
1.pro-cli add或pro-cli a构建新模板 依次输入模板名称,git仓库地址,branch分支
2.pro-cli list或pro-cli l查看模板文件 进行查看当前模板文件
3.pro-cli delete或pro-cli d删除模板文件 输入模板名称删除指定模板
4.pro-cli edit或pro-cli e编辑已有模板 输入模板名称,编辑模板的git仓库地址或者branch分支
项目的构建
输入pro-cli init 进行选择是否直接使用远程仓库的文件还是使用文件的复制版本(移除git文件) 输入想要构建的模板名即可
感谢@Jrain Lau前辈的文章。