Skip to content

Adding smart validators - #118

Merged
henryiii merged 1 commit into
masterfrom
smart_validators
May 3, 2018
Merged

henryiii merged 1 commit into
masterfrom
smart_validators

Conversation

@henryiii

@henryiii henryiii commented May 3, 2018 •

Copy link
Copy Markdown
Collaborator

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.

@henryiii
henryiii force-pushed the smart_validators branch from 22d73cc to 8da3f4f Compare May 3, 2018 14:02
@codecov

codecov Bot commented May 3, 2018 •

Copy link
Copy Markdown

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