libdballe
9.3
|
Public Member Functions | |
void | add_subcommand (Subcommand *action) |
Add an action to this tool, taking ownership of its memory management. | |
void | add_subcommand (std::unique_ptr< Subcommand > &&action) |
Subcommand * | find_action (const std::string &name) const |
void | usage (const std::string &selfpath, FILE *out) const |
void | manpage (FILE *out) const |
int | main (int argc, const char *argv[]) |
Process commandline arguments and perform the action requested. | |
Public Attributes | |
std::string | name |
std::string | desc |
std::string | longdesc |
std::string | manpage_examples_section |
std::string | manpage_files_section |
std::string | manpage_seealso_section |
std::vector< Subcommand * > | ops |