Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gigster/gig-cli

Package Overview
Dependencies
Maintainers
5
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gigster/gig-cli

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

  • 2.7.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
15
decreased by-16.67%
Maintainers
5
Weekly downloads
 
Created
Source

gig-cli

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

Commands

CommandDescription
configPrompts the user to configure the CLI.
deployDeploys a gig to an environment.
initInitializes a project config in the current directory.
generateGenerates a project from a configuration.
loginLogs user into their Gigster account.
updateChecks 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

FAQs

Package last updated on 19 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc