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

Adding smart validators #118

Merged
merged 1 commit into from
May 3, 2018
Merged

Adding smart validators #118

merged 1 commit into from
May 3, 2018

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented May 3, 2018

This adds smart validators to CLI11. They look and work just like the old ones, and user validators work as well... But the type name now changes automagically to fit the validator, and you can combine validators with & and |. A custom class is provided for users to add validators that support these new features.

@codecov
Copy link

codecov bot commented May 3, 2018

Codecov Report

Merging #118 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #118   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          11     11           
  Lines        1590   1644   +54     
=====================================
+ Hits         1590   1644   +54
Impacted Files Coverage Δ
include/CLI/Option.hpp 100% <100%> (ø) ⬆️
include/CLI/Validators.hpp 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3917b1a...8da3f4f. Read the comment docs.

@henryiii henryiii merged commit 2b6b62c into master May 3, 2018
@henryiii henryiii added this to the v1.6 milestone May 4, 2018
@henryiii henryiii deleted the smart_validators branch May 8, 2018 21:37
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

Successfully merging this pull request may close these issues.

1 participant