Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 765 Bytes

File metadata and controls

39 lines (26 loc) · 765 Bytes

cs list workspaces

List workspaces

Synopsis

List workspaces available in Codesphere

cs list workspaces [flags]

Examples

# List all workspaces
$ cs list workspaces -t <team-id>

Options

  -h, --help   help for workspaces

Options inherited from parent commands

  -a, --api string      URL of Codesphere API (can also be CS_API)
  -o, --output string   Output format (table, json, yaml) (default "table")
  -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