Command reference
deployments context
Persistent organization, project, environment, and workspace context
| Command | Summary |
|---|---|
deployments context show | Show the active CLI context |
deployments context set | Set persistent CLI context |
deployments context clear | Clear persistent resource context |
deployments context show
Show the active CLI context.
deployments context show| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--profile | string (name) | Configuration profile | ||
--json | boolean | Emit JSON output | ||
--quiet | boolean | Suppress successful output | ||
--color, --no-color | boolean | true | Use ANSI color |
Accepts only the flags listed here.
deployments context set
Set persistent CLI context.
deployments context set| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--profile | string (name) | Configuration profile | ||
--api-url | string (url) | Platform API base URL | ||
--org | string (id) | Organization ID | ||
--project | string (id) | Project ID | ||
--env | string (id) | Environment ID | ||
--workspace | string (id) | Workspace ID | ||
--live | boolean | Use the configured live API transport | ||
--mock | boolean | Use the local mock transport | ||
--json | boolean | Emit JSON output | ||
--quiet | boolean | Suppress successful output | ||
--color, --no-color | boolean | true | Use ANSI color |
Accepts only the flags listed here.
deployments context clear
Clear persistent resource context.
deployments context clear| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--profile | string (name) | Configuration profile | ||
--json | boolean | Emit JSON output | ||
--quiet | boolean | Suppress successful output | ||
--color, --no-color | boolean | true | Use ANSI color |
Accepts only the flags listed here.