Skip to main content

get

get projects

📁 Retrieve the details of a project by its ID.

Usage​

csph projects get [flags]

Aliases​

projects get, projects show, project get, project show

Options​

Command Specific​

--account <string>
account 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​

account_id, active, alert_emails_enabled, alert_enabled, created_at, created_by, deletion, deployment_count, description, id, last_opened_at, name, object, service_count, sphere_count, 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 a project
> csph project get

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

See also​