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

268 Commits

Author SHA1 Message Date
Henry Fredrick Schreiner
f89f283a62 Filling out tests 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
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
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
54308171ca Adding group ordering test 2018-04-12 08:58:20 +02:00
Henry Fredrick Schreiner
b17f7ce63a Adding a test for coverage 2018-04-12 08:34:22 +02:00
Henry Fredrick Schreiner
067bb43a84 Adding REQUIRED and Needs, using simple name more often 2018-04-12 08:34:22 +02:00
Henry Fredrick Schreiner
c63288a91c Adding set_name and support for names to app 2018-04-11 22:18:22 +02:00
Henry Fredrick Schreiner
8e650c3873 Adding two required functions 2018-04-11 22:18:22 +02:00
Henry Fredrick Schreiner
9d41ddef83 Better mixing of positionals and unlimited options (#102) 2018-04-10 14:18:00 +02:00
Henry Fredrick Schreiner
e12a295e33 Fixing some warnings 2018-04-09 14:58:51 +02:00
Henry Fredrick Schreiner
8f1215873c Allow -- to end unlimited options 2018-04-09 13:55:53 +02:00
Henry Fredrick Schreiner
0303929552 Adding tests for old behavior 2018-04-09 13:55:53 +02:00
Henry Fredrick Schreiner
0959430e57 Adding test for #87 2018-04-08 15:47:36 +02:00
Henry Fredrick Schreiner
5d9a5636bc Removing enum conversion 2018-04-07 06:58:21 +02:00
Henry Fredrick Schreiner
9a1ac48a67 Adding info to changelog 2018-04-04 20:31:52 +02:00
Henry Fredrick Schreiner
0c3df9150c Adding FetchContent on CMake 3.11 2018-04-04 20:31:52 +02:00
Henry Fredrick Schreiner
f059528559 Support for multi-size MultiOptionPolicies 2018-04-04 20:31:52 +02:00
Henry Fredrick Schreiner
447bda047f Adding size instead of expected + unchangable 2018-04-04 20:31:52 +02:00
Henry Fredrick Schreiner
de06d50f34 Adding better boost testing on old compilers 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
20b7232c47 Fix for Windows MSVC 2017 and GoogleTest 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
67c4eb71e5 Style and typo fix 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
17437921c0 Adding more informational printouts 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
39e777392d Adding informational printout to ctest 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
43ec307781 Better message about optional test, warning suppression 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
7a7064df4e Adding optional, refactor single file 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
eed238364b Expanding tests 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
368f2cd9a6 Fix for deprecated macro 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
d2d4f07fd4 Dropping CLI_ in favor of CLI11_ everywhere 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
5c0d6617d5 Adding optional test 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
bea833bbcd Adding and fixing more warnings 2018-03-26 11:48:23 +02:00
Henry Fredrick Schreiner
268c26ad62 Fix #64 by auto-adding symmetric excludes 2018-03-26 10:56:08 +02:00
Henry Fredrick Schreiner
2b4780d74a Add --option=value test for #90, as well 2018-03-26 08:31:14 +02:00
Henry Fredrick Schreiner
aa7c01ff5d Adding test and fix for #90 2018-03-25 17:56:46 +02:00
Henry Schreiner
79a1847605
Overflow (#84)
* Overflowing an integer conversion now results in a conversion failure

* CMake improvements for VERSION and inital packing support

* Fix for recent addition of overflow check

* Conan file now gets version from Version.hpp file too
2018-03-10 09:50:25 +01:00
Anton
15f9a4f128 Add check if lexical_cast fully consumed input on integer conversion (#68)
* Split signed/unsigned parsing, add check if input is fully consumed, improve tests

* Fix complex numbers parsing

* Add check if input is fully consumed for double lexical_cast, improve tests

* Add non-num non-string lexical_cast for parsable types, add tests

* Style fixes from check-style

* Some small fixes for corner case tests
2018-03-09 13:01:19 +01:00
Henry Schreiner
5186158442
Rename requires to needs (#82)
* Adding fix for #75, rename requires to needs

* Removing check for install commands (should still be run in subproject)
2018-03-08 11:48:40 +01:00
Jonas Nilsson
d465414455 Issue 70 (#80)
* Support for unused (un-defined) extras in ini-files.

* Fixed extra options in INI files to be closer to that of extra CLI arguments.

* Fixed formatting.

* Minor formatting fix.

* Fixing style

* Fixed INHERITABLE and other minor things.
2018-02-16 13:58:47 +01:00
Lucas Czech
7868dc9f6c Add path exists validator. 2018-01-07 22:35:01 +01:00
Henry Fredrick Schreiner
78ed995685 Add multiline ini comments 2017-12-23 14:17:38 -06:00
Henry Fredrick Schreiner
b10b9c8291 Run clang-format script 2017-12-23 09:47:52 -06:00
Jonas Nilsson
97b1def525 Added basic support for writing description to config string. 2017-12-18 11:47:18 +01:00