CLI reference
ccp org
Choose a default organization
Usage: ccp org [OPTIONS] <COMMAND>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --help, -h | flag | — | — | Print help |
ccp org use
Choose and save a default organization (lists names in a terminal)
Usage: ccp org use [OPTIONS] [ID]| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| id | text | — | — | Organization ID; omit to choose interactively |
| --help, -h | flag | — | — | Print help |
ccp org current
Show the effective organization and its source, without prompting
Usage: ccp org current [OPTIONS]| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --json | flag | false | — | |
| --help, -h | flag | — | — | Print help |
ccp org clear
Remove the saved default for this account and environment
Usage: ccp org clear [OPTIONS]| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --help, -h | flag | — | — | Print help |
Example
ccp org current --jsonGlobal options
Set CCP_CONTEXT to choose a named context. An explicit --context takes precedence. See organization selection for organization defaults.
| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --context | text | — | — | Select a developer context from ~/.ccp/config.toml |