1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-01 13:13:53 +00:00

24 Commits

Author SHA1 Message Date
Henry Schreiner
c9123811d1
CLI::IsMember (#222)
* Adding first draft of Sets

Use IsMember now

Using IsMember as backend for Set

Non-const validator backend

Move set tests to set

Clearer inits

* Drop shortcut

Tighten up classes a bit for MSVC

Check with GCC 4.8 too

* Simpler templates, but more of them

Dropping more type safety for older compilers

Shortcut string set

* Adding shortcut init

Making g++ 4.7 docker image happy

Fix Clang tidy issue with last commit

Adding one more shortcut, adding a couple of tests

* Dropping dual pointer versions of code

* Smarter shortcut syntax

* Adding slighly faster choices

* Cleanup to make InMember simpler

* Drop choices for now, adding some tests

* ValidationError is now always the error from a validator

* Support for other types of initializer lists, including enums

* Factor out type utilities, single version of IsMember code

* Adding a few tests for #224

* Minor cleanup for Validation Error

* Adding tests, moved deprecated tests

* Docs updates
2019-02-19 09:56:02 +01:00
Philip Top
598046c397 Add unnamed subcommand (#216)
increment the parse_ variable on unnamed subcommands. 

update the readme, and add a formatter test for nameless subcommands in nondefault group with other named subcommands.

add a test of default arguments

add a formatter test

add tests for unnamed subcommands and an example of the partitioned subcommands.

change the app_p to be a shared_ptr so you can add an App later on and merge them together

add the ability to add unnamed subcommands that allow partitioning on options into multiple apps.
2019-02-06 10:27:06 +01:00
Henry Fredrick Schreiner
6bd31c392d Fixing #168 2018-10-21 12:16:34 +02:00
Henry Fredrick Schreiner
e04498c94d Better help-all, prints more info, better spacing 2018-09-06 20:47:52 +02:00
Henry Fredrick Schreiner
4ddab334af Adding a error if json requested but missing 2018-06-28 13:05:20 +02:00
Henry Fredrick Schreiner
9943c0300f Adding bits of touchup, one new example for validators 2018-06-27 18:58:16 +02:00
Henry Fredrick Schreiner
2ae5598d95 Adding example with json config 2018-06-25 19:25:19 +02: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 Fredrick Schreiner
8f1215873c Allow -- to end unlimited options 2018-04-09 13:55:53 +02:00
Henry Fredrick Schreiner
232c792bae Adding examples to tests 2018-04-09 13:19:23 +02:00
Henry Fredrick Schreiner
d2d4f07fd4 Dropping CLI_ in favor of CLI11_ everywhere 2018-04-04 18:29:32 +02:00
Henry Fredrick Schreiner
b2376bd359 Adding example of completely custom help option 2017-11-27 16:50:48 -05:00
Henry Fredrick Schreiner
8e59df0590 Original version from @lczech 2017-10-27 15:52:41 -04:00
Henry Fredrick Schreiner
3da480792b Adding enum example 2017-06-09 08:31:47 -04:00
Henry Fredrick Schreiner
36ac4c1cc7 Adding example program for prefix program 2017-06-04 14:13:02 -04:00
Henry Fredrick Schreiner
11df3becfb Show parse order is preserved 2017-06-04 13:19:10 -04:00
Henry Fredrick Schreiner
100db357db Better example names 2017-06-04 11:29:52 -04:00
Henry Fredrick Schreiner
774bb5d05f Cleaner IDE folder structure 2017-06-02 09:03:38 -04:00
Henry Fredrick Schreiner
44f43bd621 Adding clang tidy details 2017-05-31 10:44:09 -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
81f58c130a Fixing for IDE builds 2017-02-24 13:16:11 -05:00
Henry Fredrick Schreiner
f4ba69223a Adding example for group and documentation 2017-02-11 10:03:05 -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
d070f32ed6 Adding cmake, tests 2017-01-26 16:48:30 -05:00