Workspace
geni workspace list
List every workspace your account belongs to, with the active one marked.
geni workspace list [flags]Prints every workspace the authenticated account is a member of. The active workspace is marked with *.
Synopsis
geni workspace list
geni workspace list --json| Flag | Notes |
|---|---|
--json | Machine-readable output. |
Output
SLUG NAME ROLE MEMBERS
* acme Acme Inc. admin 12
personal Personal owner 1
client-co ClientCo (consulting) member 3The active workspace is the one prefixed with *. Switch with geni workspace switch <slug>.
Output (--json)
{
"active": "acme",
"workspaces": [
{
"slug": "acme",
"name": "Acme Inc.",
"id": "org_01HX…",
"role": "admin",
"memberCount": 12
},
{
"slug": "personal",
"name": "Personal",
"id": "org_01HY…",
"role": "owner",
"memberCount": 1
},
{
"slug": "client-co",
"name": "ClientCo (consulting)",
"id": "org_01HZ…",
"role": "member",
"memberCount": 3
}
]
}Exit codes
| Code | Meaning |
|---|---|
0 | Returned |
78 | Runner session missing or expired |
125 | Network or server error |