0.0.3 • Published 11 months ago

heartdub-cli v0.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

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 NameOwner/NameBranchDeveloperDoc
vue-vite-templatevue-vite-templatemain

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 NameOwner/NameBranchDeveloperDoc
vue-vite-templatevue-vite-templatemain
testtesttesttesttest

delete

删除模板

hd delete 
Template NameOwner/NameBranchDeveloperDoc
vue-vite-templatevue-vite-templatemaster

规范&问题

  • 执行init命令会下载 公共开发库、vue开发项目

其他