1.0.1 • Published 6 years ago
gundam-cli v1.0.1
gundam-cli ·
A front-end project automatically creates submission tool.
Installation
npm install -g gundam-cli
Usage
Create a new project
gundam new <project-name>
There are mainly the following options:
- Repository type(github、gitlab)
- The short hand repository string to download the repository from:
- github:
owner/name
, such asJohnsenZhou/gundam-cli
- gitlab:custom.com:owner/name
, such asgitlab.johnsenzhou.com:example/test-projects
- Project name(default
project-name
) - Project version number(default the version number of the template)
- Project description
- The developer name
- Whether to perform
git push
operations(If you select Yes, proceed to the next operation. Otherwise, the developer will continue to manually performgit
operations.) - Input the new
git remote
address url
As shown below:
Content length exceeded, please click the link
Development
Start by cloning the Git project to your local hard drive:
$ git clone https://github.com/JohnsenZhou/gundam-cli.git
Link gundam-cli
to your development version
$ cd gundam-cli
$ npm link
API
Usage: gundam <command> [options]
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
new <string> Creates a new application
Why gundam
Gundam’s mech is nimble and powerful, Equipped with a super laser sword.