CollabOps

co workspace — workspaces

List the workspaces you belong to (alias: co ws)

co workspace shows the workspaces you belong to; co ws is the alias. Which workspace the other commands act on is decided by workspace.slug in your config — this command is how you find the slug to put there.

co workspace list

Lists the workspaces you belong to. The leading * marks the one you are currently defaulting to.

co workspace list

┌───┬─────────────────────┬─────────────────────┬────────────┬──────────┬───────┬─────────┐
 SLUG NAME VISIBILITY PROJECTS REPOS MEMBERS
├───┼─────────────────────┼─────────────────────┼────────────┼──────────┼───────┼─────────┤
 * collabops-one CollabOps One private 56 90 34
 yeongsang-workspace yeongsang-workspace private 71 23 10
└───┴─────────────────────┴─────────────────────┴────────────┴──────────┴───────┴─────────┘
FlagDescription
-l, --limit <n>Maximum workspaces to fetch across pages. 0 = all. Default 30
-W, --workspace <slug>Workspace slug for this run, overriding the saved default (global flag)

Switching workspace

Once you have the slug, there are two ways to use it.

co config set workspace.slug collabops-one   # change the saved default
co issue list -W collabops-one               # override for this command only

-W / --workspace is a global flag on every command. It overrides the saved default for that single run and leaves the config file untouched.

Moving between CollabOps instances on different hosts takes more than a workspace change. Use environment profiles in config, where host, credentials, and workspace move together.

Table of Contents