Skip to main content

get

get teams

👥 Retrieve a team by its ID.

Usage​

csph teams get [flags]

Aliases​

teams get, teams show, team get, team 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, created_at, description, id, members, name, object, owner_id, 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 prompt to retrieve a team by its ID
> csph team get

# retrieve a team by its ID
> csph team get <team-id>

# retrieve a team by its ID and display the results in JSON format
> csph team get <team-id> --output json

See also​