ark::core::ArgumentParserOptionGroup

Defined in header “ark/core/argument_parser.hh”.


Stores an “option group” this is a group of options, mostly intended to give the end user more context.

Methods

  • ArgumentParserOptionGroup(std::string name)
    Constructor. Initializes a new (empty) option group.

  • OptionRule & add_option(std::string name)
    Adds a new rule. The name is a single name, and can be a short name or a long name.

    Returns a reference to the rule, which you can use for further configuration.