Skip to content

Latest commit

 

History

History
128 lines (88 loc) · 2.9 KB

README.md

File metadata and controls

128 lines (88 loc) · 2.9 KB

@nitric/plugin-gcp

GCP plugin for Nitric

oclif Version Downloads/week License

Usage

$ npm install -g @nitric/plugin-gcp
$ oclif-example COMMAND
running command...
$ oclif-example (-v|--version|version)
@nitric/plugin-gcp/0.0.16 darwin-x64 node-v15.0.1
$ oclif-example --help [COMMAND]
USAGE
  $ oclif-example COMMAND
...

Commands

oclif-example deploy:gcp [DIR]

Deploy a Nitric application to Google Cloud Platform (GCP)

USAGE
  $ oclif-example deploy:gcp [DIR]

OPTIONS
  -f, --file=file
      [default: nitric.yaml]

  -h, --help
      show CLI help

  -p, --project=project
      GCP project ID to deploy to (default: locally configured account)

  -r,
  --region=(us-west1|us-central1|us-east1|us-east4|northamerica-northeast1|europe-west1|europe-west4|europe-north1|asia-
  southeast1|asia-east1|asia-northeast1|asia-northeast2|asia-southeast1)
      gcp region to deploy to

  --guided

EXAMPLE
  $ nitric deploy:gcp

See code: src/commands/deploy/gcp.ts

oclif-example doctor:gcp

Checks environment for configuration for deployment to GCP

USAGE
  $ oclif-example doctor:gcp

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ nitric doctor:gcp

See code: src/commands/doctor/gcp.ts

oclif-example down:gcp [DIR]

Delete a Nitric application on Google Cloud Platform (GCP)

USAGE
  $ oclif-example down:gcp [DIR]

OPTIONS
  -f, --file=file  [default: nitric.yaml]
  -h, --help       show CLI help
  --guided

EXAMPLE
  $ nitric down:gcp

See code: src/commands/down/gcp.ts

oclif-example token:gcp

Deploy a Nitric application to Google Cloud Platform (GCP)

USAGE
  $ oclif-example token:gcp

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ nitric deploy:gcp . -p my-gcp-project

See code: src/commands/token/gcp.ts