🛠 收集开发中可能会高频使用的工具
# 全局安装
npm install command-line-toolbox -g
# default
clt create
# all options
clt create <project-name> --template=ospoon/starter-ts --description=<description> --force
PS: 目前仅内置 ospoon/starter-ts
模板.
# all options
clt rm <path> [<path> ...]
# all options
clt kill <port>
# default
clt gitignore
# all options
clt gitignore --template=<name>
PS: 模版名称首字母需大写, 模板数据来源gitignore.
# default
clt tree
# all options
clt tree --ignore=<pattern>
PS: 默认忽略 .git
, .github
, .vscode
, node_modules
, dist
目录.
# default
clt remote
# all options
clt remote <name>
PS: 打开当前 Git 项目的远程仓库, 默认远端 origin
.
# create
mkcert <domain> [<domain> ...]
# uninstall
mkcert --uninstall
command | description | dependencies |
---|---|---|
clt antdv |
安装 ant-design-vue@4.x 到 vue-vite-ts 项目 |
ant-design-vue |