duchuan-command
v0.0.5
Published
本工具依赖 [@antfu/ni](https://github.com/antfu/ni),请先全局安装:
Readme
A command tool for speeding up development
前置依赖
本工具依赖 @antfu/ni,请先全局安装:
npm install -g @antfu/ni安装
npm install duchuan-command -g使用
| 命令 | 说明 |
| --------- | ---------------------------------------------- |
| i | 安装依赖 |
| s | npm run start 或者 npm run dev(优先运行 dev) |
| b | 打包 |
| e | npm run e2e |
| t | npm run test |
| copen | 克隆仓库后马上用 vscode 打开 |
| branch | 显示每个本地分支名,同时显示最新的代码提交时间 |
| cbranch | 清除所有远程仓库里不存在的本地分支 |
| repo | 打开 git 仓库首页 |
| action | 打开 GitHub Actions 页面 |
| d | 管理当前目录的域名映射(具体使用 d -h 查看) |
