workspace

Show or switch the current workspace.

lly workspace            # show the current workspace
lly workspace <NAME|ID>  # switch to another workspace

Without a name, shows name, ID, role, plan and type of the current workspace.

With a name, makes that workspace the current one for all following commands:

lly workspace acme
# ✓ Switched to Acme (wrk_42)

Names are matched case-insensitively. If several workspaces have the same name, use the ID. workspaces lists your workspaces.

To use another workspace for a single command, use -w:

lly ls -w acme

Exit codes

CodeCause
2Unknown or ambiguous name, or LLY_ACCESS_TOKEN is set
4Unknown ID or no membership

JSON output

lly workspace: {"id", "name", "role", "plan", "personal", "current"}. lly workspace <NAME|ID>: {"id", "name"}.

On this page