unisk-cli
v1.0.3
Published
CLI for web team
Readme
unisk-cli
cli
全局安装
# 安装
npm install unisk-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
初始化一个项目
unisk init testlist
查看有效的模板列表
Template Name | Owner/Name | Branch | Developer | Doc --- | --- | --- | --- | --- vue-template-ts | vue-template-ts | master | xuzhe | xxx
add
添加模板
unisk 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: testTemplate Name | Owner/Name | Branch | Developer | Doc --- | --- | --- | --- | --- vue-template-ts | vue-template-ts | master | xuzhe | xxx
delete
删除模板
unisk delete Template Name | Owner/Name | Branch | Developer | Doc --- | --- | --- | --- | --- vue-template-ts | vue-template-ts | master | xuzhe | xxx
规范&问题
- 执行init命令会下载 公共开发库、vue开发项目
