ghaym cloud environments
Manage environments.
All pages
Every command here also takes the global flags, returns the exit codes, and prints the JSON envelope with --json.
List a project's environments.
Usage
ghaym cloud environments list <project> [flags]| Argument | Required |
|---|---|
<project> | Yes |
| Flag | What it does |
|---|---|
--limit <n> | maximum rows to return |
--offset <n> | rows to skip |
Show one environment, by name or id.
Usage
ghaym cloud environments get <project> <env>| Argument | Required |
|---|---|
<project> | Yes |
<env> | Yes |
Create an environment that deploys from its own branch.
Usage
ghaym cloud environments create --project <project> --name <name> --branch <branch>| Flag | What it does |
|---|---|
--project <project> | Requiredproject, by id or slug |
--name <name> | Requiredenvironment name |
--branch <branch> | Requiredgit branch it deploys from |
Delete a non-production environment.
Usage
ghaym cloud environments delete <env> [flags]| Argument | Required |
|---|---|
<env> | Yes |
| Flag | What it does |
|---|---|
--project <project> | project, needed when <env> is a name |
--confirm | also delete the environment's databases |