56 #ifndef _RNR_CMD_ADD_ONS_H 57 #define _RNR_CMD_ADD_ONS_H 67 #include "rnr/rnrconfig.h" 142 const std::string &strName,
143 const std::string &strSyntax,
144 const std::string &strSynopsis,
145 const std::string &strLongDesc,
224 const std::string &strName =
"bt");
230 #endif // _RNR_CMD_ADD_ONS_H int printCmdHelp(std::ostream &os, const CmdDef &cmddef, const HelpSect section=HelpSectAll)
Print help for a command convenience function.
User available command description structure.
Compiled command definition class.
Command line interface class interface.
HelpSect
Command help section identifiers.
command name help section
Command line command definition class interface.
int addBtEnableCommand(CommandLine &cli, const std::string &strName="bt")
Add the core 'bt' command to the command-line interface.
int addHelpCommand(CommandLine &cli, const std::string &strName="help")
Add the core 'help' command to the command-line interface.
command brief description help section
command usage (synopsis) help section
all commond help sections
int addQuitCommand(CommandLine &cli, const std::string &strName="quit")
Add the core 'quit' command to the command-line interface.