0.0.22-beta.1 • Published 1 year ago
command-line-toolbox v0.0.22-beta.1
Install
# 全局安装
npm install command-line-toolbox -g
Features
创建新项目
# 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>
生成 .gitignore
文件
# 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
目录.
打开 Git 远程仓库
# 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 |
License
0.0.20
1 year ago
0.0.21
1 year ago
0.0.22-beta.1
1 year ago
0.0.16
1 year ago
0.0.17
1 year ago
0.0.18
1 year ago
0.0.19
1 year ago
0.0.15
1 year ago
0.0.12
1 year ago
0.0.13
1 year ago
0.0.14
1 year ago
0.0.11
1 year ago
0.0.10
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago