1.0.11 • Published 9 months ago

17fe-template-cli v1.0.11

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

Installation

npm install 17fe-template-cli -g

Usage

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

Usage: 17fe <command>

Options:
  -V, --version  output the version number
  -h, --help     output usage information

Commands:
  add            add a new template
  delete         delete a template
  list           List the templateList
  init           init a project

17fe add

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

$ 17fe add
? 請輸入模板名稱 ui2022
? 請輸入模板位址 http://10.77.249.61/frontend/vue3template.git

√ Add a template successfully!

The latest templateList is:

┌───────┬─────────────────────────────────────────────────────┐
│ name  │ url                                                 │
├───────┼─────────────────────────────────────────────────────┤
│ ui2022│ http://10.77.249.61/frontend/vue3template.git       │
├───────┼─────────────────────────────────────────────────────┤
│ ui2021│ http://10.77.249.61/frontend/tailwindCSS.git        │
└───────┴─────────────────────────────────────────────────────┘

17fe delete

To delete a template, you could use this command:

$ 17fe delete
? 請輸入要刪除的模板名稱 ui2021
? 請輸入要刪除的模板名稱 ui2021

√ Deleted successfully!

The latest templateList is:

┌───────┬──────────────────────────────────────────────────┐
│ name  │ url                                              │
├───────┼──────────────────────────────────────────────────┤
│ ui2022│ http://10.77.249.61/frontend/vue3template.git    │
└───────┴──────────────────────────────────────────────────┘

17fe list

This command will shows you the templates list.

$ 17fe list
┌───────┬─────────────────────────────────────────────────────┐
│ name  │ url                                                 │
├───────┼─────────────────────────────────────────────────────┤
│ ui2022│ https://github.com/Michael-lzg/vue-cli4-vant.git    │
└───────┴─────────────────────────────────────────────────────┘

17fe init

You can init a templates use this command

17fe init ui2022 <project-name>
1.0.11

9 months ago

1.0.10

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago