one command: what it runs, how it reads in the help, and the commands nested under it. A word of parameter consumes the arguments that follow it before this one's own function runs, which is what makes the CLI hierarchical
More...
#include <dx_parser.h>
one command: what it runs, how it reads in the help, and the commands nested under it. A word of parameter consumes the arguments that follow it before this one's own function runs, which is what makes the CLI hierarchical
◆ help_parameter()
| void dx::parser::dispatch::help_parameter |
( |
| ) |
const |
|
inline |
◆ list_parameter()
| void dx::parser::dispatch::list_parameter |
( |
| ) |
const |
|
inline |
◆ operator<<()
| void dx::parser::dispatch::operator<< |
( |
args & | args | ) |
const |
|
inline |
◆ usage()
| std::string dx::parser::dispatch::usage |
( |
| ) |
const |
|
inline |
the help with its required arguments marked <..>
◆ all
| bool dx::parser::dispatch::all |
◆ desc
| std::string dx::parser::dispatch::desc |
◆ [struct]
| struct { ... } dx::parser::dispatch::flags |
◆ function
| std::function<void(args&)> dx::parser::dispatch::function |
◆ help
| std::string dx::parser::dispatch::help |
the function's arguments, its required ones first
◆ parameter
| std::map<std::deque<std::string>, dispatch> dx::parser::dispatch::parameter {} |
◆ required
| uint8_t dx::parser::dispatch::required |
leading arguments the function needs: <..> in its usage
The documentation for this struct was generated from the following file: