Argumentum Versions Save

C++ command line parsing library

v0.3.2

1 year ago

Added

  • It is possible to collect parameters that will be forwarded to a subprocess. The syntax is similar to the one used in GCC.
  • Multiple names can be defined for meta-varaiables in metavar() by specifying a list of strings instead of a simple string.
  • Added the method add as an alias for add_parameter.
  • The method absent is now an alias for default_value.
  • Added shell tests for various library usage scenarios.

Changed

  • Some targets are available only when the Argumentum project is top-level.

Fixed

  • The header-only version can be installed.
  • The library can be used from a Git submodule using modern CMake.

v0.3.1

4 years ago
  • Disable deprecated attribute to fix the build on uwp for vcpkg

v0.3.0

4 years ago

Added

  • It is now possible to add an instantiated instance of CommandOptions with add_command. This makes it easier to access global options from within command options. See the test shouldAccessParentOptionsFromCommand in command_t.cpp and the new example in the README file.
  • The help formatter can be changed in parser configuration. See the test shouldChangeHelpFormatter in parserconfig_t.cpp.

Changed

  • The interface for defining program parameters has changed. The parameters are defined through the params() method of the argument_parser class. The old argument_parser methods for defining parameters are deprecated and will be removed.
  • Fix: Treat negative numbers as numbers when they can not be mistaken for options.

v0.2.2

4 years ago

v0.2.1

4 years ago

v0.2.0

4 years ago

v0.1

4 years ago

Most features are implemented. The command interface is not stable, yet.