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 context in ~/.culvii/config. Pure local file mutation — no network call, no re-login required. All subsequent commands will operate against the switched tenant.

All tenants you belong to are populated in ~/.culvii/config automatically on culvii login.

No --env or --workspace flags — this command 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

culvii login, culvii whoami