1.3.1 • Published 1 year ago

atarun-cli v1.3.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Installation

npm install atarun-cli -g

Usage

Open your terminal and type atarun -h , you'll see the help infomation below:

Usage: atarun <command>

Options:
  -V, --version   output the version number
  -h, --help      display help for command

Commands:
  add             add a new template
  delete          delete a template
  list            list the templateList
  init            init a project
  help [command]  display help for command

atarun add

This command would help you to add a new template to the templates.json, which will be used by atarun init to init projects.

$ atarun add
? 请选择要添加项目模版的仓库类型 git
? 请输入项目模板名称 hello
? 请输入项目模板地址 http://xxx/xxx.git
? 请输入项目模板描述 desc


✔ 添加一个项目模版成功!

所有的项目模版集合是: 

┌───────┬─────────────────────────────────────────────────────┬───────────────────┬───────────────────┐
│ name  │ downloadUrl                                         │    description    │      repoType     │
├───────┼─────────────────────────────────────────────────────┤───────────────────┤───────────────────┤
│ hello │ http://xxx/xxx.git                                  │        desc       │        git        │
└───────┴─────────────────────────────────────────────────────┴───────────────────┴───────────────────┘

atarun list

This command will shows you the templates list.

$ atarun list
┌───────┬─────────────────────────────────────────────────────┬───────────────────┬───────────────────┐
│ name  │ downloadUrl                                         │    description    │      repoType     │
├───────┼─────────────────────────────────────────────────────┤───────────────────┤───────────────────┤
│ hello │ http://xxx/xxx.git                                  │        desc       │        git        │
└───────┴─────────────────────────────────────────────────────┴───────────────────┴───────────────────┘

atarun delete

To delete a template, you could use this command:

$ atarun delete
? 请输入要删除的项目模板名称 hello


✔ 删除项目模版成功!

atarun init

You can init a templates use this command

atarun init

...
1.2.8

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.9

1 year ago

1.1.1

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago