Files
git.stella-ops.org/docs/features/unchecked/cli/tenant-context-management-cli.md

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 tenants
    • stella tenants use <tenant-id> -- set default tenant context
    • stella tenants current -- show current active tenant
    • stella tenants clear -- clear active tenant context

E2E Test Plan

  • Run stella tenants list and verify tenant listing
  • Run stella tenants use <id> and verify context set
  • Run stella tenants current and verify current tenant shown
  • Run stella tenants clear and verify context cleared
  • Verify subsequent commands use selected tenant context