halo-cli
v0.1.3
Published
初始化移动端vue项目cli脚手架
Downloads
8
Readme
halo-cli
halo-cli 用于初始化vue项目模板。
安装
npm install -g halo-cli
yarn global add halo-cli
初始化项目
# 利用模板名称初始化项目
halo init 模板名称 项目名称
# 添加模板(注意git地址可以携带分支名称,用#标识,默认master分支)
halo add 模板名称 模板git地址
# 列出当前支持的所有模板以及模板地址
halo ls
# 删除模板
halo del 模板名称
git地址请填写完整的git地址,如需指明分支,请使用
#
分隔,如:[email protected]:MichaelGong/vue-template.git#vue,会直接获取vue分支,分支默认master
本地测试命令
node ../halo-cli/bin/halo.js // 相对路径即可