Library: OSP/Shell
Package: Shell
Header: Poco/OSP/Shell/HelpCommand.h
HelpCommand implements the "help" command, with the help of the CommandProcessor.
The help command produces a list of commands known by the CommandProcessor, as well as their aliases.
The output of the command can be customized with the following bundle properties:
Direct Base Classes: Command
All Base Classes: Command
Member Functions: execute
Inherited Functions: execute
HelpCommand(
Poco::OSP::BundleContext::Ptr pContext,
CommandProcessor & commandProcessor
);
Creates the HelpCommand, using the given command processor.
~HelpCommand();
Destroys the HelpCommand.
virtual int execute(
Session & session,
const std::vector < std::string > & args,
std::ostream & ostr
);
See also: Poco::OSP::Shell::Command::execute()