|
|
| command (std::string name, std::optional< std::string > description={}) |
|
command & | description (std::string description) |
|
template<typename T> |
| command & | flag (flag< T > fl) |
|
command & | action (command_callback_t callback) |
|
command & | fallback () |
|
command & | subcommand (command cmd) |
|
command & | pos_arg (std::string name, int arity=1) |
|
|
std::string | _name |
|
std::optional< std::string > | _description |
|
std::unordered_map< std::string, _flag_info > | _flags |
|
std::vector< command > | _subcommands |
|
std::vector< posarg > | _pos_args |
|
bool | _is_fallback = false |
|
std::optional< command_callback_t > | _callback |
The documentation for this class was generated from the following file: