Skip to content

Is it possible to use ValueParser to parse Vec<String> #5930

Answered by epage
budde25 asked this question in Q&A
Discussion options

You must be logged in to vote

value_parser takes a single value and outputs whatever value you want, including a series of values. It does not operate on a series of values. That would need to be handled by custom validation logic. Right now that must be done after parsing in application code. We are considering what ways to allow users to extend validation.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by budde25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants