CLI reference
ccp sandbox
Create and connect to ephemeral Sandboxes
Usage: ccp sandbox [OPTIONS] <COMMAND>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --help, -h | flag | — | — | Print help |
ccp sandbox list
List Sandboxes in an organization
Usage: ccp sandbox list [OPTIONS]Aliases: ls.
| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --org-id | text | — | — | Organization to list |
| --json | flag | false | — | Emit an array of Sandbox summaries |
| --help, -h | flag | — | — | Print help |
ccp sandbox delete
Delete a Sandbox
Usage: ccp sandbox delete [OPTIONS] <SANDBOX_ID>Aliases: rm.
| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| sandbox_id | text | — | — | |
| --yes, -y | flag | false | — | Confirm deletion |
| --help, -h | flag | — | — | Print help |
ccp sandbox create
Create an ephemeral Sandbox from a template or published environment
Usage: ccp sandbox create [OPTIONS]| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --template | text | — | — | Applied SandboxTemplate name |
| --environment-revision | text | — | — | Exact published environment revision (machine provisioning, not session startup) |
| --org-id | text | — | — | Organization ID (defaults to CCP_ORG_ID or the picker) |
| --ttl | duration | 15m | — | Absolute lifetime, such as 15m or 1h |
| --help, -h | flag | — | — | Print help |
ccp sandbox connect
Create scoped access to a declared Sandbox service
Usage: ccp sandbox connect [OPTIONS] <SANDBOX_ID> <SERVICE>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| sandbox_id | text | — | — | Sandbox ID |
| service | text | — | — | Declared service name |
| --ttl | duration | 15m | — | Access lifetime, such as 5m or 1h |
| --json | flag | false | — | Emit the stable endpoint, token, and expiry JSON contract |
| --help, -h | flag | — | — | Print help |
ccp sandbox desktop
Open a graphical Sandbox desktop through a local authenticated tunnel
Usage: ccp sandbox desktop [OPTIONS] <SANDBOX_ID>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| sandbox_id | text | — | — | Sandbox ID |
| --ttl | duration | 15m | — | Access lifetime, such as 5m or 1h |
| --help, -h | flag | — | — | Print help |
Example
ccp sandbox create --template browser --ttl 15mGlobal 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 |