smbg-tools
>
该命令通过读取远程仓库,将仓库中每一个目录视为一份代码模板,您选择模板后会自动将该模板写入您设置的目录中
使用方式
$3
``
shell
npm i -g smbg-tools
`
$3
如果 Node.js < 12.0.0 请锁定2.3.1版本
`
shell
tools-init
`
图示:
说明
- 远程仓库地址,为smbg-tools的仓库地址。只会读取仓库 master` 分支中的
一级 目录(一级
文件不会被读取)。。
Commands
| command | 别名 | 说明 |
| ------- | ---- | ---------------- |
| --help | -h | 帮助 |
| clear | | 清空本地模板缓存 |
| tools | | 更新配置项 可选择模板 |
| tools-H5 | | 更新H5配置项 |
| tools-web | | 更新web配置项 |
| tools-mini | | 更新小程序配置项 |