OptionInfo

struct OptionInfo

Public Members

std::string name
std::string python_key

‘-’ and ‘.’ become ‘_’

std::string type

bool|int|uint|mode|enum|set|string|path|duration

OptionValue default_value
OptionValue current
OptionValue resolved

after implications

std::optional<std::int64_t> min
std::optional<std::int64_t> max
std::vector<std::string> values

enum/set members

Tier tier
Settable settable
OptionScope scope
std::string category
std::string help
bool supported

false when requires.build is not satisfied

bool is_set

set explicitly since the last reset

std::vector<std::string> aliases
std::string short_flag
std::string negation