1.0.0 • Published 1 year ago
peanutone-cli v1.0.0
English | 简体中文
feature
- Easy to use
- Support custom template addition and deletion
QuickStart
Install
$ npm i pt-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
$ pt init [templateName] [yourProjectName]
Install description:
The default scaffolding template name is vue-admin
pt init vue-admin yourProjectName
New template usage
pt add
# Select template and template address (github address)
-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
Remove template usage
pt delete
# 选择模板
See all template usage
pt list
Initialize project scaffolding usage
pt init 或者 pt init [templateName] [yourProjectName]
Contribution
- BigSharkLx
Maintainers
License
1.0.0
1 year ago