-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
alias for options #479
Comments
Unfortunately, we can't now. Only have alias for command now. PR is welcome for this. Thanks |
This issue has not received many reactions or links, and has not had any activity in over six months. It isn't likely to get acted on due to this report. Feel free to open a new issue if it comes up again, with new information and renewed interest. Thank you for your contributions. |
I was trying to figure out does this work, unfortunately it looks like this is supported (no errors) from help, but really the option does not work
|
Commander supports a short option, a long option, or both. Commander does not support multiple short options or multiple long options. And does not currently have any error checking logic in the Option constructor, so no error message. Support for a lone short option was added in Commander 6: #1256 |
Commander expects -- before option names for long command names. It also does not support multiple long option names, like "--local" and "--noGenTestData" tj/commander.js#479
Is it possible to use add aliases to options?
e.g.
to support both
--no-tests
and--notests
?The text was updated successfully, but these errors were encountered: