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

feat(clap): Expose hidden aliases. #4227

Closed
wants to merge 1 commit into from

Conversation

aobatact
Copy link

Close #4226

This exposes aliases separately from the visible ones.

@epage
Copy link
Member

epage commented Sep 19, 2022

While I'm working with adding a Serialize impl at aobatact/clap-serde#46, I wanted to get hidden aliases separate from visible ones. Thought it is possible to get them by using get_all_aliases and get_visiblealiases, it would be efficient and convenient to have a get_hidden*_aliases methods.

Efficient and convenient are not priorities for reflection. In #4226, I do start to explore an alternative API though

@epage epage closed this Sep 19, 2022
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.

Expose a hidden(non-visible) aliases
2 participants