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(parser): TypedValueParseer::map for adapting value parsers #4204

Merged
merged 1 commit into from Sep 12, 2022

Commits on Sep 12, 2022

  1. feat(parser): TypedValueParseer::map for adapting value parsers

    This is a partial backport of clap-rs#4095.  This was written to allow mapping
    bools to other types but this will be useful for people using
    `PossibleValue` with non-string types to upgrade to value parsers.
    epage committed Sep 12, 2022
    Copy the full SHA
    960c152 View commit details
    Browse the repository at this point in the history