-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
[FEATURE] Add -v as shorthand for --version #1646
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
Waiting for issue approval by maintainers. Please assign me the issue. |
I wanted to kindly follow up on this issue as I posted it last week and haven't received a response yet. I understand that you might be busy, but I would really appreciate any updates. Please let me know if there's anything I can do to help move this forward. |
Do we need this? @Souvikns @Shurtu-gal |
In my opinion we should. It adheres to the cli standards. Should also think of someway to standardise other things as well. |
Why do we need this improvement?
The --version flag is commonly used in CLI tools, but users often expect a shorthand version (-v) for quicker access. Adding -v as an alias for --version will improve the user experience by aligning with industry standards and user expectations for CLI interfaces.
How will this change help?
Screenshots
--version works fine but -v throws error.
How could it be implemented/designed?
This feature can be implemented by using oclif's built-in support for additionalVersionFlags in the package.json.
🚧 Breaking changes
No
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: