Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.04 KB

File metadata and controls

41 lines (29 loc) · 1.04 KB

cs list

List resources

Synopsis

List resources available in Codesphere

Examples

# List all workspaces
$ cs list workspaces

Options

  -h, --help            help for list
  -o, --output string   Output format (table, json, yaml) (default "table")

Options inherited from parent commands

  -a, --api string      URL of Codesphere API (can also be CS_API)
  -O, --org string      Organization ID (relevant for some commands)
  -t, --team int        Team ID (relevant for some commands, can also be CS_TEAM_ID) (default -1)
  -v, --verbose         Verbose output
  -w, --workspace int   Workspace ID (relevant for some commands, can also be CS_WORKSPACE_ID) (default -1)

SEE ALSO