@gigster/gig-cli
Gig CLI creates a command called `gig` which allows you to `init`, `generate`, and `deploy` applications.
Last updated 6 months ago by gordalina .
UNLICENSED · Original npm · Tarball · package.json
$ cnpm install @gigster/gig-cli 
SYNC missed versions from official npm registry.

gig-cli

Gig CLI creates a command called gig which allows you to init, generate, and deploy applications.

Commands

Command Description
config Prompts the user to configure the CLI.
deploy Deploys a gig to an environment.
init Initializes a project config in the current directory.
generate Generates a project from a configuration.
login Logs user into their Gigster account.
update Checks if there is an update for the CLI and installs it.

config

Usage:

$ gig config

Options:

  • --only-new (default false): When provided, will only prompt the user for new entries in the config.

Examples:

$ gig config
? autoupdate: true
? packageManager: yarn
? gitProtocol: ssh
Successfully updated the global config.

$ gig config --only-new

deploy

To deploy a service, just specify the service name and environment. For example:

$ gig deploy api staging

You will be expected to have a Dockerfile in the root directory. To create a simple one, in the project folder, run:

$ echo "FROM nginx:1.13.5-alpine" > ./Dockerfile

init

Initializes a project config in the current directory.

Usage:

$ gig init

Examples:

# Initializes a project with the latest `blank` template.
$ gig init

generate

Generates either an entire project or a specific block.

Usage:

$ gig generate <block>

Options:

  • block (optional): When provided, will generate only a specific block. Otherwise, it generates the entire project.

Examples:

# Generates the entire project.
$ gig generate

# Generates only the `api` block.
$ gig generate api

# Generates only the `deployment`.
$ gig generate deployment

login

Prompts user for Gigster credentials and logs them into their Gigster account.

Usage:

$ gig login

Examples:

$ gig login
? email: example@gigster.com
? password: [hidden]
Successfully logged in as example@gigster.com

update

Usage:

$ gig update

Current Tags

  • 2.7.0-alpha.0                                ...           alpha (6 months ago)
  • 2.7.0                                ...           latest (6 months ago)

135 Versions

  • 2.7.0                                ...           6 months ago
  • 2.7.0-alpha.0                                ...           6 months ago
  • 2.6.2                                ...           8 months ago
  • 2.6.0-alpha.3                                ...           8 months ago
  • 2.6.0-alpha.2                                ...           8 months ago
  • 2.6.0-alpha.1                                ...           8 months ago
  • 2.5.0                                ...           a year ago
  • 2.5.0-alpha.8                                ...           a year ago
  • 2.5.0-alpha.7                                ...           a year ago
  • 2.5.0-alpha.6                                ...           a year ago
  • 2.5.0-alpha.5                                ...           a year ago
  • 2.5.0-alpha.4                                ...           a year ago
  • 2.5.0-alpha.3                                ...           a year ago
  • 2.5.0-alpha.2                                ...           a year ago
  • 2.5.0-alpha.1                                ...           a year ago
  • 2.5.0-alpha.0                                ...           2 years ago
  • 2.4.1                                ...           2 years ago
  • 2.4.1-alpha.0                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 2.4.0-alpha.4                                ...           2 years ago
  • 2.4.0-alpha.3                                ...           2 years ago
  • 2.4.0-alpha.2                                ...           2 years ago
  • 2.4.0-alpha.1                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.3.0-alpha.6                                ...           2 years ago
  • 2.3.0-alpha.5                                ...           2 years ago
  • 2.3.0-alpha.4                                ...           2 years ago
  • 2.3.0-alpha.3                                ...           2 years ago
  • 2.3.0-alpha.1                                ...           2 years ago
  • 2.3.0-alpha.0                                ...           2 years ago
  • 2.2.1                                ...           2 years ago
  • 2.2.1-alpha.0                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.2.0-alpha.2                                ...           2 years ago
  • 2.2.0-alpha.1                                ...           2 years ago
  • 2.2.0-alpha.0                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.1.0-alpha.6                                ...           2 years ago
  • 2.1.0-alpha.5                                ...           2 years ago
  • 2.1.0-alpha.4                                ...           2 years ago
  • 2.1.0-alpha.3                                ...           2 years ago
  • 2.1.0-alpha.2                                ...           2 years ago
  • 2.1.0-alpha.1                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1 [deprecated]           ...           2 years ago
  • 2.0.1-alpha.2                                ...           2 years ago
  • 2.0.1-alpha.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 2.0.0-alpha.13                                ...           2 years ago
  • 2.0.0-alpha.12                                ...           2 years ago
  • 2.0.0-alpha.11                                ...           2 years ago
  • 2.0.0-alpha.10                                ...           2 years ago
  • 2.0.0-alpha.9                                ...           2 years ago
  • 2.0.0-alpha.8                                ...           2 years ago
  • 2.0.0-alpha.7                                ...           2 years ago
  • 2.0.0-alpha.6                                ...           2 years ago
  • 2.0.0-alpha.5                                ...           2 years ago
  • 2.0.0-alpha.4                                ...           2 years ago
  • 2.0.0-alpha.3                                ...           2 years ago
  • 2.0.0-alpha.2                                ...           2 years ago
  • 2.0.0-alpha.1                                ...           2 years ago
  • 1.2.0-alpha.22                                ...           2 years ago
  • 1.2.0-alpha.21                                ...           2 years ago
  • 1.2.0-alpha.20                                ...           2 years ago
  • 1.2.0-alpha.19                                ...           2 years ago
  • 1.2.0-alpha.18                                ...           2 years ago
  • 1.2.0-alpha.17                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.2-alpha.4                                ...           2 years ago
  • 1.1.2-alpha.3                                ...           2 years ago
  • 1.2.0-alpha.16                                ...           2 years ago
  • 1.2.0-alpha.15                                ...           2 years ago
  • 1.2.0-alpha.14                                ...           2 years ago
  • 1.2.0-alpha.13                                ...           2 years ago
  • 1.2.0-alpha.12                                ...           2 years ago
  • 1.2.0-alpha.11                                ...           2 years ago
  • 1.2.0-alpha.10                                ...           2 years ago
  • 1.2.0-alpha.9                                ...           2 years ago
  • 1.2.0-alpha.8                                ...           2 years ago
  • 1.2.0-alpha.7                                ...           2 years ago
  • 1.2.0-alpha.6                                ...           2 years ago
  • 1.2.0-alpha.5                                ...           2 years ago
  • 1.2.0-alpha.4                                ...           2 years ago
  • 1.1.2-alpha.2                                ...           2 years ago
  • 1.1.2-alpha.1                                ...           2 years ago
  • 1.2.0-alpha.3                                ...           2 years ago
  • 1.2.0-alpha.2                                ...           2 years ago
  • 1.2.0-alpha.1                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.1-alpha.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.1.0-alpha.35                                ...           2 years ago
  • 1.1.0-alpha.34                                ...           2 years ago
  • 1.1.0-alpha.33                                ...           2 years ago
  • 1.1.0-alpha.32                                ...           2 years ago
  • 1.1.0-alpha.31                                ...           2 years ago
  • 1.1.0-alpha.30                                ...           2 years ago
  • 1.1.0-alpha.29                                ...           2 years ago
  • 1.1.0-alpha.28                                ...           2 years ago
  • 1.1.0-alpha.27                                ...           2 years ago
  • 1.1.0-alpha.26                                ...           2 years ago
  • 1.1.0-alpha.25                                ...           2 years ago
  • 1.1.0-alpha.24                                ...           3 years ago
  • 1.1.0-alpha.23                                ...           3 years ago
  • 1.1.0-alpha.22                                ...           3 years ago
  • 1.1.0-alpha.21                                ...           3 years ago
  • 1.1.0-alpha.20                                ...           3 years ago
  • 1.1.0-alpha.19                                ...           3 years ago
  • 1.1.0-alpha.18                                ...           3 years ago
  • 1.1.0-alpha.17                                ...           3 years ago
  • 1.1.0-alpha.16                                ...           3 years ago
  • 1.1.0-alpha.15                                ...           3 years ago
  • 1.1.0-alpha.14                                ...           3 years ago
  • 1.1.0-alpha.13                                ...           3 years ago
  • 1.1.0-alpha.12                                ...           3 years ago
  • 1.1.0-alpha.11                                ...           3 years ago
  • 1.1.0-alpha.10                                ...           3 years ago
  • 1.1.0-alpha.9                                ...           3 years ago
  • 1.1.0-alpha.8                                ...           3 years ago
  • 1.1.0-alpha.7                                ...           3 years ago
  • 1.1.0-alpha.6                                ...           3 years ago
  • 1.1.0-alpha.5                                ...           3 years ago
  • 1.1.0-alpha.4                                ...           3 years ago
  • 1.1.0-alpha.3                                ...           3 years ago
  • 1.1.0-alpha.2                                ...           3 years ago
  • 1.1.0-alpha.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 1.0.0-alpha.1                                ...           3 years ago
  • 0.15.3                                ...           3 years ago
  • 0.15.2                                ...           3 years ago
  • 0.15.1                                ...           3 years ago
  • 0.14.0                                ...           3 years ago
  • 0.15.0                                ...           3 years ago
  • 0.14.1                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 137
Last Day 0
Last Week 136
Last Month 3
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |