@hengshuai/cli
v1.0.0
Published
A common command line tool for project template and other.
Downloads
23
Readme
前端cli模板
创建cli统一管理项目模板、部署、发包,实现开发到部署的自动化
安装
npm install @hengshuai/cli -g使用
# 创建模板
hengshuai create vue3-uiCommander
nodejs命令行解决方案,参考文档
选项
option => (param, desc, Customparse, default)- 参数、描述 -c --config
- 可选、默认值 [type], 'now'
- 必填、默认值 , 'now'
- 变长参数 <type...> [type...]
命令
command(nameAndArgs, opts?)处理函数
action(flags, desc, default)钩子函数
preAction、postAction、preSubcommand帮助
.name
.alias
-V
program.showHelpAfterError()