Skip to main content

list

list services

⚙️ List all services.

Usage​

csph services list [flags]

Aliases​

services list, services ls, service list, service ls, svc list, svc ls, svcs list, svcs ls

Options​

Command Specific​

--account <string>
account ID
--name <string>
name

--order <string> (default "desc")

order to sort by: [asc|desc]

-p, --page <int> (default 1)

page number
--project <string>
project ID (required)
--search <string>
search term

-s, --size <int> (default 0)

max items to return (0 = all / server default)
--sort <string>
field to sort by

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​

# list all services interactively
> csph services list

# list services in a project (--project is required non-interactively)
> csph services list --project <project-id>

See also​