CLI11 v0.5 Release Notes
-
- ๐ Allow
Hidden
options. - Throw
OptionAlreadyAdded
errors for matching subcommands or options, with ignore-case included, tests ->ignore_case()
added to subcommands, options, andadd_set_ignore_case
. Subcommands inherit setting from parent App on creation.- Subcommands now can be "chained", that is, left over arguments can now include
subcommands that then get parsed. Subcommands are now a list
(
get_subcommands
). Addedgot_subcommand(App_or_name)
to check for subcommands. - โ Added
.allow_extras()
to disable error on failure. Parse returns a vector of leftover options. Renamed error toExtrasError
, and now triggers on extra options too. - โ Added
require_subcommand
toApp
, to simplify forcing subcommands. Do not doadd_subcommand()->require_subcommand
, since that is the subcommand, not the mainApp
. - โ Added printout of ini file text given parsed options, skips flags.
- ๐ Support for quotes and spaces in ini files
- ๐ Fixes to allow support for Windows (added Appveyor) (Uses
-
, not/
syntax)
- ๐ Allow