theseus workspace
Show your workspaces, or switch the one this machine works in.
Usage: theseus workspace [name-or-id] [--json]| Option | Value | When omitted |
|---|---|---|
--json | Switch | false |
JSON output: Object: workspaces [{id,login,selected}]; or workspace {id,login}, switched. Errors: event="error", code, error.
Exit codes: 0 Success; 1 Failure; 2 Invalid arguments.
Full command help and examples
Usage: theseus workspace [name-or-id] [--json]
Show your workspaces, or switch the one this machine uses.
Without a name, you choose on the terminal; with no terminal, the list is printed.
--json never prompts and prints
{"workspaces":[{id,login,selected}]}, or
{"workspace":{id,login},"switched":...}.
Examples:
theseus workspace
theseus workspace acme