Skip to main content

culvii switch

Switch the active tenant context.

Synopsis​

culvii switch
culvii switch <tenant-slug>

Description​

Lists or switches the active tenant in ~/.culvii/config - a local file write only, no network call or re-login. All subsequent commands operate against the switched tenant.

culvii login populates every tenant you belong to here automatically.

No --env/--workspace flags - this only changes the active tenant.

Examples​

# List available tenants
culvii switch
# → Available tenants:
# → 1. * culvii-dev (Tenant ID: uuid)
# → 2. acme (Tenant ID: uuid)
# → To switch, run: culvii switch <tenant-slug>

# Switch to a specific tenant
culvii switch acme
# → tenant: acme | workspace: none | env: dev
# → Switched to tenant: acme

Error behaviour​

ConditionMessageExit
Tenant slug not found in config"Error: Tenant 'acme' not found." + list of available tenants1
No config file"No configuration found. Please run culvii login first."1