Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@gigster/gig-cli
Advanced tools
Gig CLI creates a command called `gig` which allows you to `init`, `generate`, and `deploy` applications.
Gig CLI creates a command called gig
which allows you to init
, generate
, and deploy
applications.
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. |
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 <template>
Options:
template
(optional): Either a direct url, or assumed to be from the gig-templates
GitHub repo.Examples:
# Initializes a project with the latest `blank` template.
$ gig init
# Initializes a project using the latest version of a template from `gig-templates`.
$ gig init marketplace
# Initializes a project using a specific version of a template from `gig-templates`.
$ gig init marketplace@1.2.3
# Initializes a project using a specific GitHub url. If no branch/tag is specified, it will assume master. This assumes that the template lives at the top-level of the repo.
$ gig init --remote liquidlabs-co/example-template
$ gig init --remote liquidlabs-co/example-template#custom-branch
$ gig init --remote liquidlabs-co/example-template#5ac7ed9
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
update
Usage:
$ gig update
FAQs
Gig CLI creates a command called `gig` which allows you to `init`, `generate`, and `deploy` applications.
The npm package @gigster/gig-cli receives a total of 38 weekly downloads. As such, @gigster/gig-cli popularity was classified as not popular.
We found that @gigster/gig-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.