command-line-toolbox
TypeScript icon, indicating that this package has built-in type declarations

0.0.22-beta.1 • Public • Published

command-line-toolbox

🛠 收集开发中可能会高频使用的工具

npm version npm downloads bundle JSDocs License

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.xvue-vite-ts 项目 ant-design-vue

License

MIT License © 2023-PRESENT OSpoon

Package Sidebar

Install

npm i command-line-toolbox

Weekly Downloads

55

Version

0.0.22-beta.1

License

MIT

Unpacked Size

28.9 kB

Total Files

9

Last publish

Collaborators

  • zhangxin_n22