culvii switch
Switch the active org context.
Synopsis
culvii switch
culvii switch <org-slug>
Description
Lists or switches the active org context in ~/.culvii/config. Pure local file mutation — no network call, no re-login required. All subsequent commands will operate against the switched org via the x-org-id header.
All orgs you belong to are populated in ~/.culvii/config automatically on culvii login.
No --env or --workspace flags — this command only changes the active org.
Examples
# List available orgs
culvii switch
# → Available organizations:
# → 1. * culvii-dev (Tenant ID: uuid)
# → 2. acme (Tenant ID: uuid)
# → To switch, run: culvii switch <org-slug>
# Switch to a specific org
culvii switch acme
# → org: acme | workspace: none | env: dev
# → Switched to org: acme
Error behaviour
| Condition | Message | Exit |
|---|---|---|
| Org slug not found in config | "Error: Organization 'acme' not found." + list of available orgs | 1 |
| No config file | "No configuration found. Please run culvii login first." | 1 |
Related commands
culvii login, culvii whoami