astro-cli
astro-cli copied to clipboard
UX improvement for teams list/get commands
- [x] I have checked that a similar feature request does not already exist.
✍️ Is your feature request related to a problem? Please describe. The current Teams get/list CLI command has a couple of shortcomings:
- There is no way to get the system-level roles for team/s
- The output of
astro deployment team list
andastro workspace team list
list all the roles for that team irrespective of the resource/entity type it was called from i.e.astro workspace team list
should ideally return back workspace level roles only. Currently, it would also return deployment & system-level roles. Ex:
🧩 Describe the solution you'd like
-
astro team list
command should display system-level roles -
astro team get
command should display both system level role as well as individual resource level roles, i.e. for a given team list roles for all the defined workspace and deployments. -
astro deployment team list
should display deployment level roles for that deployment -
astro workspace team list
should display workspace level roles for that workspace
💡 Additional context
Reference to the slack discussion: https://astronomer.slack.com/archives/C03JM4MV8LF/p1660025341388039