1.0.9 • Published 4 years ago

emoti-cli v1.0.9

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
4 years ago

emoti-cli

download emoti frontend templates, generate ui project includes common-module, performance tuning, docker package ...

全局安装

npm i emoti-cli -g

使用方法

查看模板列表

emoti-list

初始化项目

emoti-init $template $root_folder

$template 模板名,可选:

  • bf2020_product (BF2020产品模块模板)
  • bf_inner_module (BF2020 BF内部外链模块模板)
  • empty (空模板)

$root_folder 根目录名

添加项目模板

emoti-add

删除模板项目

emoti-delete

emoti-init常见问题

1. Generation failed. Error: 'git clone' failed with status 128

查看是否有模板项目权限:
https://gitlab.emotibot.com/emoti_frontend/cli-template

查看当前目录是否已经存在同名项目

查看当前网络能否访问gitlab

2. Downloading超过5分钟无响应

查看本机是否配置git默认账户:
git config --global user.name

若没有配置,参照一下步骤配置:
git config --global credential.helper osxkeychain
git clone https://gitlab.emotibot.com/emoti_frontend/cli-template.git
输入git账户密码
1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago