Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rad cli could use auto completion to make the commands more user friendly #8667

Open
nithyatsu opened this issue Feb 25, 2025 · 1 comment
Open
Labels
triaged This issue has been reviewed and triaged

Comments

@nithyatsu
Copy link
Contributor

nithyatsu commented Feb 25, 2025

Today, a lot of rad cli commands take arguments like resource group, resource types etc.
We also have to specify a fully qualified resource type(ex: applications.core/container) for our rad resource commands because of introduction of UDT. This requires a good amount of typing.

Some tools, like kubernetes can autocomplete names for us, for instance if we type kubectl get pods -n mynamespace, we can expect pod names to be auto completed although they are "dynamic" list.

https://chromium.googlesource.com/external/github.com/spf13/cobra/+/94a87a7b83bda98e918cf7a4793f41372a5e4139/bash_completions.md captures a potential approach for cobra commands.

We should investigate and add this feature for UX enhancement.

AB#14660

@lakshmimsft lakshmimsft added the triaged This issue has been reviewed and triaged label Mar 3, 2025
@radius-triage-bot
Copy link

👍 We've reviewed this issue and have agreed to add it to our backlog. Please subscribe to this issue for notifications, we'll provide updates when we pick it up.

We also welcome community contributions! If you would like to pick this item up sooner and submit a pull request, please visit our contribution guidelines and assign this to yourself by commenting "/assign" on this issue.

For more information on our triage process please visit our triage overview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged This issue has been reviewed and triaged
Projects
None yet
Development

No branches or pull requests

2 participants