Skip to main content

list

list deployments

🚀 List deployments. A service can be deployed in different environments. This command lists all deployments of a service.

Usage​

csph deployments list [flags]

Aliases​

deployments list, deployments ls, deployment list, deployment ls, deploys list, deploys ls

Options​

Command Specific​

--service <string>
service ID

Formatting​

For more information about formatting options, see Formatting.

--fields <strings>
output JSON with the specified fields
--jq <string>
filter JSON output with jq expression

-o, --output <string>

output format: [table|plain|csv|json|yaml]
--template <string>
format JSON using a Go template

Available Fields​

env_id, environment, id, last_deployed_at, name, object, service_id, service_name, service_type, sphere_count, status, type

Inherited​

--config <string>
config file (default is $HOME/.config/computesphere/configuration.yaml)
--debug
enable debug logging

-h, --help

show this help message

-i, --interactive

run interactively (prompts, pickers, table browser)
--log-level <string>
log level: [trace|debug|info|warn|error|fatal|panic|disabled||api]
--no-color
disable color output
--no-input
disable interactive mode

Examples​

# list all deployments interactively
> csph deployments list

# list all deployments of a service
> csph deployments list --service <service-id>

# list all deployments of a service, output in YAML format
> csph deployments list --service <service-id> --output yaml

See also​