1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-30 04:33:53 +00:00

943 Commits

Author SHA1 Message Date
henryiii
f6b1bc1357 Update CLITest.cpp for wrong error name 2017-02-06 23:05:50 -05:00
Henry Fredrick Schreiner
1183c52817 Nicer default for vector default 2017-02-06 21:01:29 -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
c7dadfc57a Fix extra output file 2017-02-06 14:42:27 -05:00
Henry Fredrick Schreiner
82a9523f71 Output tag too 2017-02-06 14:40:52 -05:00
Henry Fredrick Schreiner
9e142893b7 Fixing path to created hpp file v0.1 2017-02-06 13:30:34 -05:00
Henry Fredrick Schreiner
f6e567b10a Building the fast clang release first (quicker deploy) 2017-02-06 13:26:28 -05:00
Henry Fredrick Schreiner
2a00052fd1 Fixing travis deploy 2017-02-06 13:21:01 -05:00
Henry Fredrick Schreiner
a62f66c012 Adding deploy to releases to travis 2017-02-06 13:08:41 -05:00
Henry Fredrick Schreiner
f34924a41f Fixed script for Python 2 with future import 2017-02-06 13:03:07 -05:00
Henry Fredrick Schreiner
d71c6c9663 Remove vestige of Py 3.6 2017-02-06 12:57:59 -05:00
Henry Fredrick Schreiner
f44aeff751 Fix for build and python 2017-02-06 12:56:03 -05:00
Henry Fredrick Schreiner
03d3109955 Trying to fix travis 2017-02-06 12:52:09 -05:00
Henry Fredrick Schreiner
82f604191f Cleanup travis with ymllint 2017-02-06 12:46:19 -05:00
Henry Fredrick Schreiner
6f30770038 Py 2 compat 2017-02-06 12:12:40 -05:00
Henry Fredrick Schreiner
dc0747ffc2 Trying python on Travis 2017-02-06 11:59:25 -05:00
Henry Fredrick Schreiner
ee5678562f Adding tools to build with python 3.6 directly 2017-02-06 11:51:06 -05:00
Henry Fredrick Schreiner
9f0a6143d5 Adding note to readme 2017-02-06 09:55:42 -05:00
Henry Fredrick Schreiner
a12a94c4c1 Separate files, plus way to combine 2017-02-06 09:54:41 -05:00
henryiii
44a27be54f Cleanup readme 2017-02-04 16:59:05 -05:00
Henry Fredrick Schreiner
2fa31c660b Updating download script 2017-02-04 15:54:01 -05:00
Henry Fredrick Schreiner
2d32cd77c9 Spelling fixes and readme updates 2017-02-04 15:42:42 -05:00
Henry Fredrick Schreiner
87155a5def Removing google mock since it is not used here 2017-02-04 15:09:30 -05:00
Henry Fredrick Schreiner
a58488dc0d Don't make a new line unless needed 2017-02-04 14:48:57 -05:00
Henry Fredrick Schreiner
c028ca298d Better support for subcommand help 2017-02-04 14:37:49 -05:00
Henry Fredrick Schreiner
34b92f6894 Format cleanup, using standard fn 2017-02-04 14:21:02 -05:00
Henry Fredrick Schreiner
c5cab1feb6 Adding place to inject code before callbacks 2017-02-04 11:44:23 -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
955dd950f0 C++11 compliance on older compilers 2017-02-04 08:45:00 -05:00
Henry Fredrick Schreiner
8b224fa7a9 Allowing comma sep. options everywhere 2017-02-04 08:41:21 -05:00
Henry Fredrick Schreiner
9dea0cf2e9 Actually support multiple options 2017-02-04 08:29:34 -05:00
Henry Fredrick Schreiner
2fae7e2cdf Adding bool flag 2017-02-03 21:32:58 -05:00
Henry Fredrick Schreiner
c10bece495 Making app pointer optional 2017-02-03 18:27:27 -05:00
Henry Fredrick Schreiner
9c55fa2872 Added subcommand callback 2017-02-03 17:50:59 -05:00
Henry Fredrick Schreiner
200072dc38 Added update script 2017-02-03 15:43:08 -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
ca16a762db Nicer help message 2017-02-03 13:30:18 -05:00
Henry Fredrick Schreiner
653d8b70fd Clean up, move more to detail 2017-02-01 16:16:03 -05:00
Henry Fredrick Schreiner
e0ca21f435 Reducing strain on Travis 2017-02-01 14:54:20 -05:00
Henry Fredrick Schreiner
0d21f08820 Fix for GCC 4.7 2017-02-01 14:50:38 -05:00
Henry Fredrick Schreiner
4c55a2882d Adding gcc 5 and 6 2017-02-01 14:45:05 -05:00
Henry Fredrick Schreiner
e00ba23e4a Adding test for GCC 4.7 2017-02-01 14:42:59 -05:00
Henry Fredrick Schreiner
fcad3c7385 Add README, and change vector default 2017-02-01 14:38:12 -05:00
Henry Fredrick Schreiner
cc3fa6009d Support for multiple names on option 2017-02-01 13:34:48 -05:00
Henry Fredrick Schreiner
a80ac7b750 Trying to set CC and CXX 2017-02-01 12:18:56 -05:00
Henry Fredrick Schreiner
a99b6a331b Another attempt to fix travis 2017-02-01 12:08:38 -05:00
Henry Fredrick Schreiner
a997a343cd Adding env var 2017-02-01 12:03:12 -05:00
Henry Fredrick Schreiner
0255692760 Adding version to compiler for travis 2017-02-01 11:54:13 -05:00
Henry Fredrick Schreiner
a36e1ddfe6 Removed dependency on regex 2017-02-01 11:22:31 -05:00