933 B
933 B
Tenant Context Management CLI
Module
Cli
Status
IMPLEMENTED
Description
Multi-tenant context switching: list available tenants, set/use a default tenant context, show current tenant, and clear the active context.
Implementation Details
- Tenant Store:
src/Cli/StellaOps.Cli/Services/TenantProfileStore.cs-- tenant profile management - Commands:
stella tenants list-- list available tenantsstella tenants use <tenant-id>-- set default tenant contextstella tenants current-- show current active tenantstella tenants clear-- clear active tenant context
E2E Test Plan
- Run
stella tenants listand verify tenant listing - Run
stella tenants use <id>and verify context set - Run
stella tenants currentand verify current tenant shown - Run
stella tenants clearand verify context cleared - Verify subsequent commands use selected tenant context