Philip Top
ee2b725019
fix: a few issues with config file output ( #599 )
...
* fix a few issues with config file output, namely an ability to print a default empty string, and to adjust the quote characters used when quoting strings or characters.
* fix formatting
* Update CMakeLists.txt
* Update README.md
2021-06-16 21:58:03 -04:00
Henry Schreiner
c4f1fc8ea7
refactor!: remove add_complex ( #600 )
2021-06-16 20:33:22 -04:00
Henry Schreiner
e2e3cb2fed
refactor!: drop defaulted from add_option ( #597 )
2021-06-16 11:16:22 -04:00
Henry Schreiner
6ca5df8722
docs: fix missing chars in README
2021-06-15 22:43:22 -04:00
Henry Schreiner
911ee02f6c
style: run pre-commit
2021-06-15 14:52:40 -04:00
Henry Schreiner
05586a9b71
chore: update style checking
2021-06-15 14:52:40 -04:00
dependabot[bot]
ac74dac25c
chore: bump pre-commit/action from 2.0.2 to 2.0.3 ( #587 )
...
Bumps [pre-commit/action](https://github.com/pre-commit/action ) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/pre-commit/action/releases )
- [Commits](https://github.com/pre-commit/action/compare/v2.0.2...v2.0.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 11:09:41 -04:00
dependabot[bot]
491627abed
chore: bump jwlawson/actions-setup-cmake from 1.8 to 1.9 ( #588 )
...
Bumps [jwlawson/actions-setup-cmake](https://github.com/jwlawson/actions-setup-cmake ) from 1.8 to 1.9.
- [Release notes](https://github.com/jwlawson/actions-setup-cmake/releases )
- [Commits](https://github.com/jwlawson/actions-setup-cmake/compare/v1.8...v1.9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 11:09:29 -04:00
dependabot[bot]
4af78beef7
chore: bump pre-commit/action from v2.0.0 to v2.0.2 ( #576 )
2021-04-05 13:27:44 -04:00
Henry Schreiner
97f5460fbe
docs: update changelog ( #564 )
2021-04-04 01:58:15 -04:00
Henry Schreiner
51ea7ebeb0
drop: set ( #565 )
...
* refactor!: drop sets
* ci: fix clang 10 build
2021-04-04 01:58:01 -04:00
Max
3eb5e1eedd
fix: rename enum class parameter 'WINDOWS' in detail::Classifier to 'WINDOWS_STYLE' to remove conflicts with cmake default definitions ( #563 )
2021-04-04 01:57:46 -04:00
Henry Schreiner
fa423c4558
ci: fix CMake config check
2021-04-04 00:29:21 -04:00
Henry Schreiner
fdedfb6426
tests: remove submodule
2021-04-04 00:29:21 -04:00
Henry Schreiner
5d12e11d8a
tests: use catch2
2021-04-04 00:29:21 -04:00
Henry Schreiner
b00b56061a
tests: fix minor errors to prepare for Catch2
2021-04-04 00:29:21 -04:00
dependabot[bot]
34c4310d99
chore: bump jwlawson/actions-setup-cmake from v1.7 to v1.8 ( #560 )
...
Bumps [jwlawson/actions-setup-cmake](https://github.com/jwlawson/actions-setup-cmake ) from v1.7 to v1.8.
- [Release notes](https://github.com/jwlawson/actions-setup-cmake/releases )
- [Commits](https://github.com/jwlawson/actions-setup-cmake/compare/v1.7...8a432c42cf22eb16687b3516b4759e1cf5604f34 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 16:40:04 -05:00
dependabot[bot]
639a8add1e
chore: bump jwlawson/actions-setup-cmake from v1.6 to v1.7 ( #552 )
2021-01-26 01:38:26 -05:00
dependabot[bot]
05fd1a2518
chore: bump jwlawson/actions-setup-cmake from v1.5 to v1.6 ( #548 )
...
Bumps [jwlawson/actions-setup-cmake](https://github.com/jwlawson/actions-setup-cmake ) from v1.5 to v1.6.
- [Release notes](https://github.com/jwlawson/actions-setup-cmake/releases )
- [Commits](https://github.com/jwlawson/actions-setup-cmake/compare/v1.5...0a4250e9746afbf8007d5fc3b26e5b0577e332b9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 08:54:09 -05:00
Henry Schreiner
f862849488
refactor: new version of MakeSingleFiles ( #546 )
...
* refactor: new version of MakeSingleFiles
* fix: use CMake and set version
2021-01-04 17:47:06 -05:00
Henry Schreiner
32e6c3f347
chore: bump pre-commit versions ( #547 )
2020-12-28 13:14:01 -05:00
Philip Top
822f3d6700
fix: add an alias section to the help for subcommands ( #545 )
2020-12-28 11:02:18 -05:00
Philip Top
a86f7fbd5e
tests: add some extra tests from debugging ( #542 )
...
* add a test to verify std::optional<std::uint64_t> works correctly.
* adding some extra tests to help with debugging
2020-12-28 11:01:11 -05:00
Philip Top
f0461525bb
feat: add a silent option to subcommands ( #529 )
...
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
2020-12-28 11:00:18 -05:00
Philip Top
31be35b241
feat: add a validator that checks for specific types conversion ( #526 )
2020-12-28 10:58:57 -05:00
Philip Top
28b35af5ea
Fix the test for cuda by updating the version number of a repo that is part of the test. ( #543 )
2020-11-25 14:41:18 -08:00
allcontributors[bot]
3bf24c5164
docs: add dbarowy as a contributor ( #534 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-11-03 23:53:09 -05:00
Dan Barowy
ff557589e3
docs: fix variable name. ( #533 )
2020-11-03 11:58:23 -05:00
allcontributors[bot]
a9e8c56499
docs: add dfleury2 as a contributor ( #532 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-10-28 12:34:47 -04:00
D. Fleury
a7902531c9
fix: add multilines array support for TOML ( #528 )
...
* Adds multilines array support
* Update include/CLI/Config.hpp
Co-authored-by: David Fleury <david.fleury@expandium.com>
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
2020-10-28 12:34:24 -04:00
Philip Top
69674dc91b
fix: help all was showing up in the required list error if requirement are not met. ( #530 )
2020-10-28 12:33:15 -04:00
djerius
e50a75f231
feat: create pkg-config file ( #523 )
2020-10-28 12:06:05 -04:00
Philip Top
89926dc820
feat: support for Atomic types in flags and options ( #520 )
2020-10-28 11:57:47 -04:00
Henry Schreiner
d621be0565
ci: label PRs when merged
2020-10-28 11:34:45 -04:00
Alex Dewar
97e5ebe490
fix: don't copy ConfigItems when iterating ( #521 )
...
Use a const reference to avoid unnecessary copies. Also constify the
argument to _parse_config.
2020-10-15 21:51:21 -04:00
Philip Top
438eabe5f8
feat: add char type ( #449 )
...
add a test for char options
add support for char types to the lexical cast, to allow single character types that make sense, add a integral_conversion operations to simplify the conversions from string to integers and allow discrimination in a few cases with enumerations.
2020-09-30 17:58:39 -04:00
allcontributors[bot]
a1dd4d708d
docs: add ZeeD26 as a contributor ( #519 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-09-30 09:23:35 -04:00
Dominik Steinberger
d3b0b73118
Print input when validation fails ( #516 )
...
Co-authored-by: Dominik Steinberger <open-source-libraries@steinberger.io>
2020-09-30 08:57:16 -04:00
Henry Schreiner
c1666528ef
📝 Add @jakoblover as a contributor
2020-09-09 21:44:59 -04:00
Henry Schreiner
08b03fdeb8
📝 Add @ferdymercury as a contributor
2020-09-09 21:44:41 -04:00
Henry Schreiner
635ffe716b
📝 Add @mbhall88 as a contributor
2020-09-09 21:44:28 -04:00
allcontributors[bot]
246d9092c9
docs: add rcurtin as a contributor ( #511 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-09-09 14:12:15 -04:00
Ryan Curtin
26555f9ea2
Grammar fix. ( #510 )
2020-09-09 14:08:41 -04:00
Philip Top
6aa58d5828
Add an ability to deal handle multiple config files ( #494 )
2020-09-03 19:42:35 -04:00
Michael Hall
8ce1594eae
fix name of make make option opts function ( #509 )
2020-09-03 19:41:18 -04:00
Jakob Lover
11141525ac
Customize text between option name and description ( #497 )
...
* Added an option to change the text between definition and description
* Added test and readme
* Update Option.hpp
Fixed shadowing issue
* style: fix formatting
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
2020-09-03 19:40:42 -04:00
Henry Schreiner
b21f2e1bbe
fix: left table column too long ( #504 )
2020-09-02 09:16:53 -04:00
Henry Schreiner
105399a620
fix: Boost test might fail - make explicit for now
2020-08-25 09:57:41 -04:00
ferdymercury
82c71bd7ee
Clarify inclusion of CLI11 via CMake ( #499 )
...
Installing is not optional if you want find_package to work
Specify other options when using shared folders (system-wide) rather than local ones.
Fixes https://github.com/CLIUtils/CLI11/issues/498
2020-08-13 17:58:41 -04:00
Henry Schreiner
7cdd95e312
chore: update pre-commit and GHA
2020-07-27 22:11:23 -04:00