1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-29 20:23:55 +00:00

11 Commits

Author SHA1 Message Date
Henry Fredrick Schreiner
27f718125d Reformat with clang-format 2017-05-31 12:03:05 -04:00
Henry Fredrick Schreiner
0f47620704 Removing run, clean up App structure 2017-02-13 08:42:15 -05:00
Henry Fredrick Schreiner
1bf66bc3e5 Moved to storing unique_ptr of Options, better support for --help 2017-02-07 14:00:03 -05:00
Henry Fredrick Schreiner
494a65f812 Dropping Make syntax, moving to pointers from combiners, structured errors.
This mostly is cleanup, with fewer alternative methods and more standard syntax, avoiding the use of the namespace all the time. Validators are simpler and are added through `->check()`.

Defaults are automatic, and can be specified with a final arg to the options.

Expected arguments and required arguments are now accessed through a pointer to option.

Option now can be checked as a bool to see if the argument was passed.

Errors have better organisation.
2017-02-06 20:52:12 -05:00
Henry Fredrick Schreiner
a12a94c4c1 Separate files, plus way to combine 2017-02-06 09:54:41 -05:00
Henry Fredrick Schreiner
915c68703f Nicer help printing 2017-02-04 10:31:51 -05:00
Henry Fredrick Schreiner
200d0f277f Massive move to -a,--long,posit syntax 2017-02-04 10:11:05 -05:00
Henry Fredrick Schreiner
5af4d9c36d Adding better help print, with default and value info, better spacing 2017-02-03 14:58:16 -05:00
Henry Fredrick Schreiner
5019f1030b Adding more standard method for exiting 2017-01-30 13:16:14 -05:00
Henry Fredrick Schreiner
4067f55cb8 Changing the exit method to a more reasonable system 2017-01-30 13:02:55 -05:00
Henry Fredrick Schreiner
d070f32ed6 Adding cmake, tests 2017-01-26 16:48:30 -05:00