Struct CLIOptionTuple

Struct Documentation

struct CLIOptionTuple

Helper tuple storing an option object, the associated variable and creation index.

Note: bare pointers are used for CLI::Option objects as this comes from the CLI11 library. Removing it would require deep modifications in the 3rd party library, what we want to avoid.

Public Members

CLI::Option *opt
Ptr<any_type> var
size_t idx = {0}
OptionPriority priority = {cli::OptionPriority::DefaultValue}