0.0.3 • Published 11 months ago
heartdub-cli v0.0.3
wb-cli
cli
全局安装
# 安装
npm install @heartdub/wb-cli
Usage: ks <command>
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
init|i Generate a new project
list|ls project list...
delete|d Delete a template
add|a add a template
help [command] display help for command
功能
- init xxx(项目名字)
- list
- add
- delete
- version
init
初始化一个项目
hd init test
list
查看有效的模板列表
Template Name | Owner/Name | Branch | Developer | Doc |
---|---|---|---|---|
vue-vite-template | vue-vite-template | main |
add
添加模板
hd add
? Set the custom name of the template: test
? Owner/name of the template: test
? Branch of the template: test
? Developer of the template: test
? Doc of the template: test
Template Name | Owner/Name | Branch | Developer | Doc |
---|---|---|---|---|
vue-vite-template | vue-vite-template | main | ||
test | test | test | test | test |
delete
删除模板
hd delete
Template Name Owner/Name Branch Developer Doc vue-vite-template vue-vite-template master
规范&问题
- 执行init命令会下载 公共开发库、vue开发项目