-
Is there a trait I can implement, something like |
Beta Was this translation helpful? Give feedback.
Answered by
epage
Jan 24, 2024
Replies: 1 comment 1 reply
-
There is not. We've talked about adding some more extensibility to clap (#3476) but that would be more for reusable units of validation, rather than one-off validation. imo a trait would overcomplicate this when the caller can just do processing after the parsing is done. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
webern
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is not. We've talked about adding some more extensibility to clap (#3476) but that would be more for reusable units of validation, rather than one-off validation. imo a trait would overcomplicate this when the caller can just do processing after the parsing is done.