|
|
std::function< void(const std::vector< std::string > &)> | function = nullptr |
| | A function to call when executing a command.
|
| |
◆ operator[]()
| Console::Node & cli::Console::Node::operator[] |
( |
const std::string & |
key | ) |
|
|
inline |
Used to add a new command.
Can be chained togehter to add more complex commands.
console["console"]["set"]["histSize"].function = [](){};
Console represents the customisable console.
Definition cli.hpp:21
- Parameters
-
The documentation for this class was generated from the following file: