Skip to main content

get

get accounts

🗃️ Retrieve the details of an account by its ID.

Usage​

csph accounts get [flags]

Aliases​

accounts get, accounts show, account get, account 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​

activation_at, active, available_spherestor, country, created_at, currency, delete_at, feature_access, frozen_at, id, name, object, role, spherestor_count, state, status, subscription, subscription_id, trial_end_at, trial_min_days, trial_start_at, trial_status, updated_at, user_id

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 an account
> csph account get

# get an account by its ID
> csph account get <account-id>

See also​