Repository navigation
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/--helpoption,-v/--versionoption to show the version, if defined, of the CLI.📝 Checklist