CLI11 v2.1 Release Notes
-
The name restrictions for options and subcommands are now much looser, allowing a wider variety of characters than before, even spaces can be used (use quotes ๐ง to include a space in most shells). The default configuration parser was ๐ improved, allowing your configuration to sit in a larger file. And option callbacks have a few new settings, allowing them to be run even if the option is ๐ not passed, or every time the option is parsed.
- Option/subcommand name restrictions have been relaxed. Most characters are now allowed. #627
- ๐ The config parser can accept streams, specify a specific section, and inline comment characters are supported #630
force_callback
&trigger_on_parse
added, allowing a callback to always run on parse even if not present or every time the option is parsed #631- ๐ Bugfix(cmake): Only add
CONFIGURE_DEPENDS
if CLI11 is the main project #633 - ๐ Bugfix(cmake): Ensure the cmake/pkg-config files install to a arch independent path #635
- ๐ Bugfix: The single header file generation was missing the include guard. #620