scsl 0.1.1
Shimmering Clarity Standard Library
|
#include <Commander.h>
Public Member Functions | |
Commander () | |
A Commander is initialized empty. | |
bool | Register (Subcommand scmd) |
Register adds the subcommand. It will be copied into the Commander. | |
Subcommand::Status | Run (std::string command, int argc, char **argv) |
Try to run a subcommand registered with this Commander. | |
Commander collects subcommands and can run the apppropriate one.
For example: