模板管理
添加
$ fbi add <template>
template
- 描述:模板路径
- 类型:必需
- 取值:
- 远程git仓库地址,如:
https://github.com/fbi-templates/fbi-project-vue.git
- 本地模板路径,如:
path/to/local/template
.
: 当前目录
- 远程git仓库地址,如:
- 例子:
$ fbi add https://github.com/fbi-templates/fbi-project-vue.git $ fbi add ./my-tmpl-a $ fbi add .
更新
$ fbi up <template>
$ fbi update <template>
template
- 描述:模板名称
- 类型:必需
- 例子:
$ fbi up vue $ fbi update vue
删除
$ fbi rm <template>
$ fbi remove <template>
template
- 描述:模板名称
- 类型:必需
- 例子:
$ fbi rm vue $ fbi remove vue