⌚️A cli tool for every front-end team.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
.editorconfig
.gitignore
.travis.yml
LICENSE
README.md
README_zh-CN.md
package-lock.json
package.json

README.md

gundam-cli · PyPI Packagist

以中文查看

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 as JohnsenZhou/gundam-cli
    • gitlab: custom.com:owner/name, such as gitlab.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 perform git 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.

License

MIT