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

docs(cookbook): PossibleValues with custom types #4352

Merged
merged 1 commit into from Oct 6, 2022
Merged

Conversation

epage
Copy link
Member

@epage epage commented Oct 5, 2022

This used to be more magical in clap 3 and people are having a hard time discovering how to get this in clap 4, so let's add examples:

  • discrete numbers
  • foreign enums

Fixes #4351

This used to be more magical in clap 3 and people are having a hard time
discovering how to get this in clap 4, so let's add examples:
- discrete numbers
- foreign enums
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.

Can't use ValueParser to replace PossibleValues in v4
1 participant