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

1338 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
4d34311cb1 chore(deps): pre-commit.ci autoupdate
updates:
- [github.com/psf/black: 21.6b0 → 21.7b0](https://github.com/psf/black/compare/21.6b0...21.7b0)
2021-07-19 18:46:59 -04:00
Henry Schreiner
cb72d1f2bb
style: more codacy fixes 2021-07-19 16:19:43 -04:00
Henry Schreiner
2ea663bcc7 style: add remarklint 2021-07-19 15:23:35 -04:00
Henry Schreiner
4698131216 style: add mdlint 2021-07-19 15:23:35 -04:00
Henry Schreiner
f27f6f2070
docs: fix some Codacity recommendations (#622) 2021-07-17 15:05:18 -04:00
Henry Schreiner
b4f6be31c1
chore: codacity (#621)
* docs: fix some Codacity recommendations

* chore: update copyright year

* style: more codacity fixes

* style: fix issues reported by Codacity
2021-07-16 17:41:46 -04:00
Henry Schreiner
9e247b1a0c
fix: single header file pragma missing (#620) 2021-07-15 09:59:46 -04:00
Henry Schreiner
030f9d6789
docs: include conda badge 2021-07-15 01:14:17 -04:00
Henry Schreiner
dfc656c465
docs: link for 2.0 post 2021-07-14 16:46:06 -04:00
Henry Schreiner
975e58b3ed
docs: add more notes about releases (#617)
* docs: add more notes about releases

* docs: update badges

* ci: fix file upload
2021-07-14 13:29:10 -04:00
Henry Schreiner
0d06d21b56
docs: fix rendering issue for changelog on GitHub v2.0.0 2021-07-14 11:34:43 -04:00
Henry Schreiner
d55f8fbaf1
style: fix and add spelling check (#615)
* style: fix and add spelling check

* Update .pre-commit-config.yaml
2021-07-14 11:23:02 -04:00
Henry Schreiner
656dda1695 chore: bump version to 2.0.0 2021-07-13 21:08:59 -04:00
Henry Schreiner
989bdcd6ca chore: drop unused py file 2021-07-13 21:08:59 -04:00
Henry Schreiner
c7af1a688c 📝 Add @alexdewar as a contributor 2021-07-11 20:11:03 -04:00
Henry Schreiner
fb3aa96640 📝 Add @AnticliMaxtic as a contributor 2021-07-11 20:11:03 -04:00
Henry Schreiner
addafa5bdf 📝 Add @dryleev as a contributor 2021-07-11 20:11:03 -04:00
Henry Schreiner
bb7c96a09e 📝 Add @paddy-hack as a contributor 2021-07-11 20:11:03 -04:00
Henry Schreiner
c9558b3470 chore: changelog update 2021-07-11 20:11:03 -04:00
Olaf Meeuwissen
2255619b0f
fix: commenting of descriptions with embedded newlines (#592)
* Add configuration output multi-line description tests

This adds tests for the application's description as well as option
groups and subcommands.

See #592.

* Fix commenting of configuration output multi-line descriptions
2021-06-28 13:07:03 -04:00
Henry Schreiner
aa31576666
chore: bump CMake limits and catch2 verison (#607) 2021-06-24 12:31:44 -04:00
dryleev
d0a2aa7908
fix: remove duplicated call to subcommand's final_callback (#584)
* Fix excessive call to subcommand's final_callback

When parse_complete_callback_ is set there is an extra call to
run_callback() inside the App::_parse(std::vector<std::string>&) method.
This extra call also excessively calls a final_callback_ (when it is
also set) for the command and (since it is recursive) for it's
subcommands.

This commit adds extra boolean parameter for the run_callback() method
allowing to explicitly suppress calling to final_callback_. The value of
this parameter is also propagated to recursive calls to run_callback().

Fixes #572

* fix: main app should run final_callback, add tests

Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
2021-06-24 09:39:43 -04:00
Philip Top
75f2d7747f
fix: allow quotes to specify a program name with spaces on the single string parse operation. (#605) 2021-06-21 12:16:09 -04:00
Philip Top
f27822deaa
fix: help flag should work even when config file is required (#606) 2021-06-21 12:13:08 -04:00
Philip Top
25cca2dcb9
docs: add custom parse example (#603) 2021-06-17 17:44:19 -04:00
Philip Top
a8ef5b8d2f
fix: avoid printing description for non configurable subcommand (#604) 2021-06-17 17:42:53 -04:00
Philip Top
2fa8cae9e8
feat: add changeable help message string to version (#601)
add an optional help message string to the version_add flag if desired to override
2021-06-17 12:04:55 -04:00
Philip Top
15bb724e06
fix: make the IncorrectConstruction errors on bad subcommand name more comprehensible. (#602) 2021-06-17 08:37:38 -04:00
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