Skip to content
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

Support option aliases #492

Closed
wants to merge 1 commit into from
Closed

Conversation

ajfranzoia
Copy link
Contributor

Add support for option aliases. References #479.

@Turbo87
Copy link

Turbo87 commented Jan 5, 2017

@zhiyelee could you take a look at this proposal and possibly merge it? this seems very useful if you're porting from some other library to commander to backwards compat.

@roman-vanesyan
Copy link
Collaborator

One of the option to make current commander version behave the same way is to define separated option and provide the that to your handler. I think the way you describe things should behave is a bit enormous and should be considered a bad way to design CLI IMHO. @zhiyelee what do you think?

@shadowspawn
Copy link
Collaborator

This pull request 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.

@shadowspawn shadowspawn closed this Apr 1, 2019
@trinhhunganh
Copy link

Please, support this.
thank you!

@shadowspawn
Copy link
Collaborator

@trinhhunganh
There was only one 👍 on #479 in over three years and no comments, and only one comment on this Pull Request.

To properly add option aliases would complicate the option parsing and the display of help. (This Pull Request is not a complete proposal.)

Feel free to open a new issue if it comes up again, with new information and renewed interest.

However if you would like to raise it again, please open a new issue describing what problem you are solving, and optionally how you imagine it might look like in the calling code, and optionally examples of tools that do this. We currently leave unanswered issues open for six months to see how much interest and comments they get.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants