-
Notifications
You must be signed in to change notification settings - Fork 243
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Short alias in CLI #3875
Comments
Hi, @NissesSenap to save some typing you can also use autocompletion, this is much more useful than aliases. |
Thanks for the tip @kadel I have done this and as you say it saves some time but I guess me and most developers today is used of doing "ls" or "get" when you want a list of things within kubernetes. I haven't had time to look at the odo code but I assume it uses a cli framework like cobra or something similar so adding aliases shouldn't be a super big feature but my two cents is that it will make life easier for developers. |
Yes, we use Cobra, aliases are not a problem. We are actually already doing it. We will look into making commands a little bit shorter and use common shortcuts that people are used to. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/kind feature
Which functionality do you think we should add?
Add short aliases for CLI commands. Currently I have to type
odo list
I would like to be able to typeodo ls
Why is this needed?
Currently the CLI is forcing the developers to be very verbose when typing commands which takes time.
I have given a example above with list vs ls.
There is probably more "standard" aliases that could be implemented in the cli to make life easier for developers.
The text was updated successfully, but these errors were encountered: