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

137 Commits

Author SHA1 Message Date
Henry Fredrick Schreiner
27f718125d Reformat with clang-format 2017-05-31 12:03:05 -04:00
Henry Fredrick Schreiner
1ee22ec9ff Using empty instead of 0 size 2017-05-31 11:02:35 -04:00
Henry Fredrick Schreiner
60934c8a27 Fixing include order 2017-05-31 10:59:25 -04:00
Henry Fredrick Schreiner
c94aa406a6 Fixing namespace endings 2017-05-31 10:50:16 -04:00
Henry Fredrick Schreiner
101c926dac Adding tidy cleanups (modernize) 2017-05-31 07:38:22 -04:00
Henry Fredrick Schreiner
239d3b1c31 Fixes for compiler warnings with max warnings on Xcode 2017-04-23 13:57:01 -04:00
Henry Fredrick Schreiner
ee9219e0f8 Adding warnings and fixes, CLI11 target, support for VIM Syntastic 2017-03-27 13:53:57 -04:00
Henry Fredrick Schreiner
1619e863a2 Fixing name CLIUtils 2017-03-25 16:54:57 -04:00
Henry Fredrick Schreiner
e29bd785c6 Change CLTools -> CLITools 2017-03-23 16:11:54 -04:00
Henry Fredrick Schreiner
6a3b111b71 Slighly better error message 2017-03-23 16:02:58 -04:00
Henry Fredrick Schreiner
cb2646a56c Moving to new location 2017-03-23 15:55:23 -04:00
Henry Fredrick Schreiner
e8c195b683 Making it easier to add custom options 2017-03-23 09:59:02 -04:00
Henry Fredrick Schreiner
a3522c1ddf Fix and add cov for subcom ini parser 2017-03-17 12:04:22 -04:00
Henry Fredrick Schreiner
f6e771a248 Adding corrected positional help 2017-03-15 09:11:32 -04:00
Henry Fredrick Schreiner
6d445ff03d Adding test and better positional help output 2017-03-15 08:54:31 -04:00
Henry Fredrick Schreiner
58655472f7 IncorrectConstruction 2017-03-08 09:34:08 -05:00
Henry Fredrick Schreiner
84add337bb Remove double vector parse 2017-03-02 13:10:32 -05:00
Henry Fredrick Schreiner
3f4c165ea9 Adding string based method for requires/excludes 2017-02-24 16:59:53 -05:00
Henry Fredrick Schreiner
e2a12e298d --amend 2017-02-24 15:29:36 -05:00
Henry Fredrick Schreiner
84cfcc185b Adding nicer docs 2017-02-24 15:27:06 -05:00
Henry Fredrick Schreiner
a8f5b32830 Updated names in Option, too 2017-02-24 15:15:48 -05:00
Henry Fredrick Schreiner
1dfe8dcea1 Rename App members, originize help 2017-02-24 14:29:26 -05:00
Henry Fredrick Schreiner
e63898df9f Throw errors for duplicate subcommand names, with ignore case too 2017-02-20 15:31:58 -05:00
Henry Fredrick Schreiner
196012a9f7 Adding (untested) ignore case abilities 2017-02-20 13:22:42 -05:00
Henry Fredrick Schreiner
bf0b18a9f4 After discussion, LGPL seems to be the correct license 2017-02-17 19:58:06 -05:00
Henry Fredrick Schreiner
15c6ee5f3d Added Range and ValidationError, Refactor throwing errors to Option instead of App for Validation 2017-02-13 16:28:35 -05:00
Henry Fredrick Schreiner
f4d8fd0305 Added help print and test for requires, envname, and excludes 2017-02-12 18:01:33 -05:00
Henry Fredrick Schreiner
b3ce333e1d Adding tests for required, adding mandatory synonym 2017-02-12 17:21:36 -05:00
Henry Fredrick Schreiner
f4bf6d7226 Adding requires, excludes, and getenv (untested) 2017-02-12 14:04:36 -05:00
Henry Fredrick Schreiner
905c23bcd0 Change license 2017-02-12 13:01:43 -05:00
Henry Fredrick Schreiner
b774c57dc2 Adding help testing, option groups 2017-02-11 09:38:35 -05:00
Henry Fredrick Schreiner
cf667f28a9 removing added pname from helpstring for optional 2017-02-08 20:27:57 -05:00
Henry Fredrick Schreiner
9b31ef38d8 Adding positional name to name 2017-02-08 15:01:59 -05:00
Henry Fredrick Schreiner
b459d4782d Making positional types clearer 2017-02-07 15:00:24 -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