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

686 Commits

Author SHA1 Message Date
Henry Schreiner
bf2bc39c30 Rename to set_* on options and add return this
Now use type_name and type_size instead of set_custom_option.
2018-06-18 15:13:59 +02:00
Henry Fredrick Schreiner
23cedc12e8 Fixing Conan upload capitalization 2018-06-14 14:34:48 +02:00
Henry Fredrick Schreiner
6f41cca918 Simpler check for optional 2018-06-13 15:56:03 +02:00
Henry Fredrick Schreiner
189546b82a Bump version to 1.5.4 2018-06-01 22:41:25 +02:00
Henry Fredrick Schreiner
87494a2270 Allow Optional search to be disabled by user 2018-06-01 22:41:25 +02:00
Henry Fredrick Schreiner
dab61c0107 Fix for single file include order 2018-06-01 22:41:25 +02:00
Sean Fisk
225492f6f2 Add virtual destructor to Config class
Clang++/LLVM 6.0 complains about this from warning
-Wdelete-non-virtual-dtor which is included when using -Wall.

Both App and FormatterBase already have virtual destructors, so this
was probably just accidentally left out.

This is also a C++ best practice; I have drawn some guidelines from
here: http://www.gotw.ca/publications/mill18.htm
2018-05-24 20:02:13 +00:00
Henry Fredrick Schreiner
a323d7b444 Refactor group formatting a little 2018-05-22 14:07:20 +02:00
Paweł Bylica
1994efd601 README: Add link to CLI11 package in Hunter 2018-05-22 14:06:25 +02:00
Henry Fredrick Schreiner
36cf13cec6 Hiding single file tests option if single file is off 2018-05-21 23:01:13 +02:00
Henry Schreiner
aad3a6b429
Correcting the size description. 2018-05-20 08:43:20 +02:00
Henry Schreiner
0b1bfacfd3
Add note for set custom option 2018-05-19 08:02:40 +02:00
Henry Fredrick Schreiner
9b54b6e0fe Undef error macros at end of file 2018-05-18 10:45:30 +02:00
Marcus Brinkmann
db8ccf8afe Add const to argv argument of App::parse 2018-05-15 23:02:11 +02:00
Henry Fredrick Schreiner
47d5ed1453 Adding each() 2018-05-10 18:49:38 +02:00
Henry Fredrick Schreiner
e8b45de6ec Dropping a few lines 2018-05-10 18:49:38 +02:00
Henry Fredrick Schreiner
d46c2c5727 Adding Config class 2018-05-09 16:08:32 +02:00
Henry Fredrick Schreiner
0d9a33d4ca Adding access to current formatter, using shared pointer to link all formatters 2018-05-09 16:08:32 +02:00
Henry Fredrick Schreiner
aac957507d Adding short_circuit to simplify parse procedure 2018-05-09 16:08:32 +02:00
Henry Schreiner
6a6d64581d Updates to help and changelog
From working copy
2018-05-06 23:51:24 +02:00
Henry Fredrick Schreiner
101d847c29 Use filter fn to simplify, sort includes 2018-05-06 18:36:33 +02:00
Henry Fredrick Schreiner
3ff6fcae4e Dropping unneeded static keywords 2018-05-04 16:25:16 +02:00
Henry Fredrick Schreiner
88521b58f8 Adding a few tools to make manual validation easier 2018-05-04 15:55:24 +02:00
Henry Fredrick Schreiner
f7d51f6a76 Adding nicer format script example 2018-05-04 11:21:35 +02:00
Henry Fredrick Schreiner
f785046da6 Rename typeval to type_name to match API 2018-05-04 10:25:01 +02:00
Henry Fredrick Schreiner
ac0205d01d Updates to documentation 2018-05-03 18:30:59 +02:00
Henry Fredrick Schreiner
b30e4797e3 Dropping conan from macOS build 2018-05-03 18:30:59 +02:00
Henry Fredrick Schreiner
f89f283a62 Filling out tests 2018-05-03 18:30:59 +02:00
Henry Fredrick Schreiner
b80a0046fc GCC 4.7 can't tell a function from a string. Separated and fixed. 2018-05-03 18:30:59 +02:00
Henry Fredrick Schreiner
e7483afc41 Adding functional form of Type printout 2018-05-03 18:30:59 +02:00
Henry Fredrick Schreiner
2b6b62c52c Adding smart validators 2018-05-03 17:04:13 +02:00
Henry Schreiner
3917b1ab59
Sets by reference (#114)
* Adding const & access to sets

* Adding set reference option

* One missing line in coverage
2018-05-02 16:06:20 +02:00
Henry Fredrick Schreiner
af2ed66d6e Just use Formatter
Removing OptionFormatter

Rename files

Rename to just Formatter

Remove OptionFormatMode (just needs a bool)

Renaming option functions on formatter
2018-04-30 08:17:31 -04:00
Henry Fredrick Schreiner
89975e51e7 Updating coverage 2018-04-30 08:17:31 -04:00
Henry Fredrick Schreiner
952f2913e3 First attempt at formatter (app and option)
in progress: formatters

Getting closer

Working on apps

One test actually runs

All builds, added filter functions

Reverting a few behavours as needed

Repairs

All tests pass

Fixing error with adding help flag

Labels are simpler mappings, normalized setters

Adding help_all

Adding a few more tests

One more line tested

Adding one more check

Adding to readme

Simplify naming

Adding default constructors

Fixing spacing issues with subcommand all printout

Adding a couple of tests
2018-04-30 08:17:31 -04:00
Henry Schreiner
a061275eba
Moving to submodules, adding sanitizer (#111) 2018-04-25 18:57:21 -04:00
Henry Schreiner
bc61342d8e
Removing requires (#112) 2018-04-25 18:33:43 -04:00
Henry Schreiner
b957301c3a
Adding policy range (#110) 2018-04-25 18:14:00 -04:00
Henry Fredrick Schreiner
7763ab8809 Fixing CI upload for Conan.io
[skip ci]
2018-04-19 13:17:19 +02:00
Henry Fredrick Schreiner
7a6cd04ec4 Bump version to 1.5.3 v1.5.3 2018-04-19 12:52:20 +02:00
Henry Schreiner
12858075f7 Fixing CUDA NVCC 7.0 2018-04-19 04:58:15 -04:00
Henry Schreiner
2d6581a394 Boost Optional before 1.58 is too buggy to support 2018-04-18 18:11:11 -04:00
Henry Fredrick Schreiner
ef1aa10fdb Test all optionals 2018-04-18 23:42:17 +02:00
Henry Schreiner
5591977764 Fix for forced boost addition in testing 2018-04-18 17:30:50 -04:00
Henry Fredrick Schreiner
177f40a17c Dropping optimization for thread local (breaks XCode 7 support) 2018-04-18 13:59:02 +02:00
Henry Fredrick Schreiner
48ed89d004 Fix spelling typo 2018-04-17 16:26:46 +02:00
Henry Fredrick Schreiner
5e680b34a7 Updating online code tryout link to 1.5.2 2018-04-17 16:25:38 +02:00
Henry Fredrick Schreiner
bd890e24a1 A few more explicit constructors v1.5.2 2018-04-13 14:15:09 +02:00
Henry Schreiner
b23275358a
Adding nicer header with LICENSE to single file version (#107)
* Adding nicer header with LICENSE to single file version

* Adding badges

* Clean up sh files

* Adding explicit in a few places

* More fixes from codacy
2018-04-13 14:07:32 +02:00
Henry Fredrick Schreiner
3520d6cfd7 Conan instructions improved v1.5.1 2018-04-12 09:04:13 +02:00