-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat: support --version
#67
Conversation
Thanks for this PR i often needed it as well! I have made few refactors to keep it simple with only |
I think it should support -v out of the box. It's much more probable to have -v for version than for --verbose. If the user don't want |
Even better, if a command with alias I can happily make a PR for that. I like this lib, and it's very similar to a solution I did for myself some time ago. |
@SrBrahma can you please open an issue to keep track of this? Auto disable sounds nice idea (BTW, it is not that easy, we need to also scan all sub-commands if they support |
π Linked issue
fix #66
β Type of change
π Description
This PR adds, as same as
-h
/--help
option,-v
/--version
option to show the version, if defined, of the CLI.π Checklist