|
YesChief!
C++ argv parser
|
#include <yeschief.h>
Public Attributes | |
| std::optional< std::any > | default_value = std::nullopt |
| std::optional< std::any > | implicit_value = std::nullopt |
| bool | required = false |
| std::string | value_help = "VALUE" |
Advanced configuration of an option
| std::optional<std::any> yeschief::OptionConfiguration::default_value = std::nullopt |
Default value for this option. Will be set if option is not set by the user
| std::optional<std::any> yeschief::OptionConfiguration::implicit_value = std::nullopt |
Implicit value for this option. Will be set if option is given by the user without a value
| bool yeschief::OptionConfiguration::required = false |
| std::string yeschief::OptionConfiguration::value_help = "VALUE" |
Placeholder in help message for the option value