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

Can we get a full working example of custom Validator/Converter? #838

Open
phlptp opened this issue Feb 5, 2023 Discussed in #778 · 1 comment
Open

Can we get a full working example of custom Validator/Converter? #838

phlptp opened this issue Feb 5, 2023 Discussed in #778 · 1 comment

Comments

@phlptp
Copy link
Collaborator

phlptp commented Feb 5, 2023

Discussed in #778

Originally posted by Ivan-SB September 20, 2022
I'd like to write a date/time validator/converter but I'm not even able to write a trivial do nothing custom validator as a subclass and use it.

It would be nice if we could have an example class and how to use it.

I gave a look to this
https://cliutils.github.io/CLI11/book/chapters/advanced-topics.html
and this
https://cliutils.github.io/CLI11/book/chapters/validators.html

but I didn't come up with anything working.

thanks

@phlptp
Copy link
Collaborator Author

phlptp commented Feb 11, 2023

related to #780

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

No branches or pull requests

1 participant