You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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.
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 #631CONFIGURE_DEPENDS
if CLI11 is the main project #633This discussion was created from the release Version 2.1: Names and callbacks.
Beta Was this translation helpful? Give feedback.
All reactions