Skip to main content

get

get services

⚙️ Get a service by ID.

Usage​

csph services get [flags]

Aliases​

services get, services show, service get, service show, svc get, svc show, svcs get, svcs show

Options​

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​

active, created_at, deployments, id, last_opened_at, name, object, plan, plan_id, project_id, type, updated_at

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​

# start an interactive session to get a service
> csph service get

# get a service by its ID
> csph service get <service-id>

See also​