Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: hailo-ai/CLI11

Tags

v2.2.0

Toggle v2.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
docs: update readme and changelog and version number (CLIUtils#718)

* Update readme and changelog and version number

* style: pre-commit.ci fixes

* fix missing references

* style: pre-commit.ci fixes

* merge in changes from non existent 2.1.3 patch release

* Update CHANGELOG.md

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <[email protected]>
Co-authored-by: Henry Schreiner <[email protected]>

v2.1.2

Toggle v2.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
chore: bump version (CLIUtils#658)

* chore: update changelog for 2.1.2

* chore: bump version

v2.1.1

Toggle v2.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
docs: release action fixed, no reminder needed now

v2.1.0

Toggle v2.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
docs: prepare for 2.1 (CLIUtils#638)

* docs: changelog update

* docs: prepare for 2.1

* Apply suggestions from code review

Co-authored-by: Philip Top <[email protected]>

Co-authored-by: Philip Top <[email protected]>

v2.0.0

Toggle v2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
docs: fix rendering issue for changelog on GitHub

v1.9.1

Toggle v1.9.1's commit message
Bump to Version 1.9.1

v1.9.0

Toggle v1.9.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump version to 1.9.0 (CLIUtils#408)

* Bump version to 1.9.0

* Include CMake mention

v1.8.0

Toggle v1.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Version 1.8 (CLIUtils#280)

* Version bump

* Update README

* Apply suggestions from code review

Co-Authored-By: Philip Top <[email protected]>

* Adding mark for deprecated items

v1.7.1

Toggle v1.7.1's commit message
Version 1.7.1: Quick patch

This version provides a quick patch for a (correct) warning from GCC 8 for the windows options code.

* Fix for Windows style option parsing [CLIUtils#201]
* Improve `add_subcommand` when throwing an exception [CLIUtils#204]
* Better metadata for Conan package [CLIUtils#202]

[CLIUtils#201]: CLIUtils#201
[CLIUtils#202]: CLIUtils#202
[CLIUtils#204]: CLIUtils#204

v1.7.0

Toggle v1.7.0's commit message
Version 1.7: Parse breakup

The parsing procedure now maps much more sensibly to complex, nested subcommand structures. Each phase of the parsing happens on all subcommands before moving on with the next phase of the parse. This allows several features, like required environment variables, to work properly even through subcommand boundaries.
Passing the same subcommand multiple times is better supported. Several new features were added as well, including Windows style option support, parsing strings directly, and ignoring underscores in names. Adding a set that you plan to change later must now be done with `add_mutable_set`.

* Support Windows style options with `->allow_windows_style_options`. [CLIUtils#187] On by default on Windows. [CLIUtils#190]
* Added `parse(string)` to split up and parse a command-line style string directly. [CLIUtils#186]
* Added `ignore_underscore` and related functions, to ignore underscores when matching names. [CLIUtils#185]
* The default INI Config will now add quotes to strings with spaces [CLIUtils#195]
* The default message now will mention the help-all flag also if present [CLIUtils#197]
* Added `->description` to set Option descriptions [CLIUtils#199]
* Mutating sets (introduced in Version 1.6) now have a clear add method, `add_mutable_set*`, since the set reference should not expire [CLIUtils#200]
* Subcommands now track how many times they were parsed in a parsing process. `count()` with no arguments will return the number of times a subcommand was encountered. [CLIUtils#179]
* Parsing is now done in phases: `shortcurcuits`, `ini`, `env`, `callbacks`, and `requirements`; all subcommands complete a phase before moving on. [CLIUtils#179]
* Calling parse multiple times is now officially supported without `clear` (automatic). [CLIUtils#179]
* Dropped the mostly undocumented `short_circuit` property, as help flag parsing is a bit more complex, and the default callback behavior of options now works properly. [CLIUtils#179]
* Use the standard `BUILD_TESTING` over `CLI11_TESTING` if defined (`CLI11_TESTING` may eventually be removed) [CLIUtils#183]
* Cleanup warnings [CLIUtils#191]
* Remove deprecated names: `set_footer`, `set_name`, `set_callback`, and `set_type_name`. Use without the `set_` instead. [CLIUtils#192]

> ### Converting from CLI11 1.6:
>
> * `->short_circuit()` is no longer needed, just remove it if you were using it - raising an exception will happen in the proper place now without it.
> * `->add_set*` becomes `->add_mutable_set*` if you were using the editable set feature
> * `footer`, `name`, `callback`, and `type_name` must be used instead of the `set_*` versions (deprecated previously).

[CLIUtils#179]: CLIUtils#179
[CLIUtils#183]: CLIUtils#183
[CLIUtils#185]: CLIUtils#185
[CLIUtils#186]: CLIUtils#186
[CLIUtils#187]: CLIUtils#187
[CLIUtils#190]: CLIUtils#190
[CLIUtils#191]: CLIUtils#191
[CLIUtils#192]: CLIUtils#192
[CLIUtils#197]: CLIUtils#197
[CLIUtils#195]: CLIUtils#195
[CLIUtils#199]: CLIUtils#199
[CLIUtils#200]: CLIUtils#200