Skip to content

Support providing workspace id on organization switch #1805

@jeremybeard

Description

@jeremybeard

Running astro organization switch [organization-id] where the organization has multiple accessible workspaces, and the context does not have a last used workspace id, will print out a table of accessible workspaces and ask the user to select the workspace they wish to switch to.

For programmatic use cases this is challenging. To handle this we should add an optional --workspace-id flag to astro organization switch that automatically handles the subsequent workspace switch.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions