There is a newer version of the record available.

Published September 20, 2021 | Version v2.1.0
Software Open

CLIUtils/CLI11: Version 2.1: Names and callbacks

  • 1. Princeton University
  • 2. @LLNL
  • 3. Nokia TECH
  • 4. European Spallation Source
  • 5. Carnegie Institution for Science
  • 6. Mellanox
  • 7. Sandia National Laboratories
  • 8. University of Malaga, @MRPT
  • 9. @dontnod
  • 10. @vmware
  • 11. University of Sussex
  • 12. Universität Rostock
  • 13. Williams College
  • 14. @NordicSemiconductor
  • 15. @neurala
  • 16. Open Robotics
  • 17. @GarnerCorp

Description

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

Files

CLIUtils/CLI11-v2.1.0.zip

Files (345.0 kB)

Name Size Download all
md5:6df71cf51bdaa5dd30880ef6c3132eaa
345.0 kB Preview Download

Additional details

Related works