A front-end project automatically creates submission tool.
npm install -g gundam-cli
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
- github:
- 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
$ git clone https://github.com/JohnsenZhou/gundam-cli.git
$ cd gundam-cli
$ npm link
Usage: gundam <command> [options]
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
new <string> Creates a new application
Gundam’s mech is nimble and powerful, Equipped with a super laser sword.