astroctl_organization_use
astroctl organization use
Switch active organization context
Synopsis
Switch the active organization for all subsequent CLI commands. Similar to 'kubectl config use-context'. The selected org is persisted on the server so all clients (CLI, website, MCP) share the same context.
astroctl organization use [org-name-or-id] [flags]
Examples
# Switch by org name
astroctl org use my-team
# Switch by org ID
astroctl org use org-abc123
# List orgs first, then switch
astroctl org list
astroctl org use my-team
Options
-h, --help help for use
--org-id string Organization ID to switch to
Options inherited from parent commands
-o, --output string Output format (json|yaml) (default "yaml")
SEE ALSO
- astroctl organization - Manage organizations