Package Exports
- willis-cli
- willis-cli/bin/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (willis-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
简介
常用功能脚手架工具,支持克隆模板项目仓库、更新git仓库 master 主干分支、docker 镜像构建与重启等。
安装
npm install -g willis-cli使用
willis-cli -h命令
| Command | Description | Options |
|---|---|---|
| create | 根据 git 模板仓库快速创建一个新的项目 | -f --force 强制覆盖 |
| -t --template <模板名称> 指定模板快速创建 | ||
| deploy | 重新构建 docker 镜像,并重启镜像服务 | |
| publish | 更新 master 主干,适用于 dev/master 模型分支仓库 | |
| show | 查看本地/远程分支的详细信息 |
create
| 克隆指定 git 模板仓库
willis-cli create [project-name] [options]
willis-cli create
willis-cli create vue3-willis-admin -f
willis-cli create my-uniapp -t fast-vue-h5publish
| 更新线上服务,适用于 dev/master 模型分支仓库
willis-cli publishdeploy
| 重新构建 docker 镜像,并重启镜像服务
willis-cli deploy <container-name>show
| 查看本地/远程分支的详细信息
willis-cli show [branch-name]
willis-cli show
willis-cli show origin/master