obi use-workspace
Set the workspace the current context uses.
obi use-workspace sets which of your workspaces the current context acts in,
like switching namespace in kubectl.
Shell
obi use-workspace NAME
NAME is a workspace's name, slug, or id. obi get workspaces lists yours.
Shell
obi get workspaces
obi use-workspace staging
It is the same as obi config set-context --current --workspace NAME. To act
in another workspace for one command without changing the context, add
-n NAME:
Shell
obi get incidents -n staging
This needs a context you signed in to with obi login,
which covers every workspace you belong to. A personal access token belongs to
one workspace, so to use another, create a token there and save it as its own
context.