Workspace
geni workspace switch
Change the active workspace. Subsequent commands operate in the new context.
geni workspace switch <slug>Sets the active workspace to <slug>. The setting is persisted to ~/.config/geni/runner-session.json and applies to every subsequent command, until you switch again or override per-call with --workspace.
Synopsis
geni workspace switch acme
geni workspace switch personal| Arg | Notes |
|---|---|
<slug> | The workspace's slug. Use geni workspace list to discover. |
Output
✓ Active workspace: acme (Acme Inc.)Exit codes
| Code | Meaning |
|---|---|
0 | Switched |
4 | Slug not found, or your account isn't a member of that workspace |
78 | Runner session missing or expired |
125 | Network or server error verifying membership |
Notes
- Switching is a local file edit. No server call is made beyond verifying your account has access to the target workspace.
- If you only need to operate in another workspace for one command, prefer the per-call override:
geni --workspace <slug> <command>. That doesn't change the default. - Switching does not log you out of the current workspace, you can switch back at any time without re-authenticating.