1.3.0 • Published 7 years ago
ygf-speed v1.3.0
#安装
npm install -g ygf-speed
or
git clone https://github.com/yaoguofeng00000/speed.git
cd speed
npm install
npm link
#用法
命令speed
显示当前可用模板
命令:speed list 参数:无
添加模板
命令:speed add [option] 添加模板 可选参数: -n : name [string] 指定输入新增的模板名 -u : user [string] 指定输入模板的创建者(github用户名) -r : rep [string] 指定输入模板对应github库名(repositorie名) -b : branch [string] 指定输入github库分支(repositorie分支)
删除模板
命令:speed del [templateName] 参数:templateName 要删除的模板
初始化创建新工程
命令:speed create [option] 创建工程 可选参数: -p : pname [string] 指定输入创建的工程名 -t : user [string] 指定输入选用的模板名 -d : rep [string] 指定输入创建工程的相对地址