0.0.1 • Published 4 years ago
ioc-cli v0.0.1
简介
百川园区前端脚手架工具,主要生成模板项目。
下载(推荐使用淘宝镜像或 yarn)
npm install ioc-cli -g
or
yarn golbal add ioc-cli
# 使用
输入 `ioc` or `ioc -h`查看脚手架命令, 可以看到:
Usage: ioc
Commands: add|a 新增模板 list|l 所有模板 init|i clone 模板生成新项目 delete|d 删除模板
Options:
-h, --help output usage information
-V, --version output the version number
# Commands
### add
添加模板
\$ ioc add
delete
删除模板
$ ioc delete
### list
仓库中所有的模板
\$ ioc list Owner/Name --> gitlab 项目仓库的 群组名称/应用名称
### init
clone模板生成自己的项目
\$ ioc init
? 需要 clone 的仓库内模板: bmp_car_web ? 新建项目名称: my-project ? 创建文件的相对路径? ../ ⠹ Downloading template...
新建模板成功!
0.0.1
4 years ago