Skip to content

Escaping delimiters for value_parser when using value_delimiter #5357

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

You must be logged in to vote

There can be a lot of caveats to escaping that I worry that fully supporting it would over-complicate clap's API, bloat the API, and negatively affect binary size and build times for little gain. I lean towards this being handled by callers in TypedValueParser implementations (note that functions of the right signature implement that trait).

Some things to know

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by quietvoid
Comment options

You must be logged in to vote
0 replies
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