tsklovecli
v1.0.5
Published
tsk的cli工具
Downloads
3
Readme
@xing.wu/cli
代码相关
.
├── node_modules
├── package.json
├── pnpm-lock.yaml
├── readme.md
└── src 代码主体
├── actions 操作的action
│ └── init.js initAction
├── config 配置文件
│ └── templates.json 模板列表
| └── hooks 添加git hooks的默认配置文件
├── index.js 入口文件
└── utils 工具类
├── downTemplate.js 下载模板
├── exit.js 退出
├── log.js 颜色打印
└── spinner.js loading实例
使用方法
安装(不推荐安装,建议npx使用)
npm install @tsklovecli -g
新建项目(推荐使用npx)
# npx使用
npx tsklovecli init 项目名
# 例如
npx tsklovecli init aaa
npx tsklovecli i aaa
# 安装后使用
tsklovecli init aaa
tsklovecli i aaa
获取版本号
tsklovecli --version
tsklovecli -V
获取帮助信息
tsklovecli --help