General Input
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
ArgNotes
<slug>The workspace's slug. Use geni workspace list to discover.

Output

✓ Active workspace: acme (Acme Inc.)

Exit codes

CodeMeaning
0Switched
4Slug not found, or your account isn't a member of that workspace
78Runner session missing or expired
125Network 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.

On this page