1.0.2 • Published 1 year ago

newtemplate-cli v1.0.2

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

English | 简体中文

feature

  • Easy to use
  • Support custom template addition and deletion

QuickStart

Install

$ npm i newtemplate-cli -g               # install cli
$ omi init my-app     # init project, you can also exec 'omi init' in an empty folder
$ cd my-app           # please ignore this command if you executed 'omi init' in an empty folder
$ newtemplate-cli init [templateName] [yourProjectName]

Install description:

The default scaffolding template name is vue-admin

newtemplate-cli init vue-admin yourProjectName

New template usage

newtemplate-cli add
# Select template and template address (github address)

newtemplate-cli-add

-Note: The template address is the git repository name. The master branch is pulled by default. If you want to specify a branch, please use owner / name # my-branch newtemplate-cli-add

Remove template usage

newtemplate-cli delete
# 选择模板

newtemplate-cli-add

See all template usage

newtemplate-cli list

Initialize project scaffolding usage

newtemplate-cli init 或者 newtemplate-cli init [templateName] [yourProjectName]

newtemplate-cli-add

Contribution

  • George-Hill-Qiao

Maintainers

License