libdballe 9.14
dballe::cmdline::Command Struct Reference

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)
Subcommandfind_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

The documentation for this struct was generated from the following file: