Go to the documentation of this file.
28 m_help =
"Print the help message";
33 printf(
"List of builtin Shell commands:\r\n\r\n");
37 printf(
"%s -- %s\r\n", i.current()->getName(), i.current()->getHelp());
40 printf(
"Type 'ls /bin' to see available user commands\r\n");
virtual int execute(const Size nparams, const char **params)
Executes the command.
Builtin command for the Shell.
Iterate through a HashTable.
const char * m_help
Command help text.
System command shell interpreter.
HelpCommand(Shell *shell)
Constructor.
Shell * m_shell
Shell object.
int printf(const char *format,...)
Output a formatted string to standard output.
HashTable< String, ShellCommand * > & getCommands()
Get all shell commands.
unsigned int Size
Any sane size indicator cannot go negative.
virtual bool hasCurrent() const
Check if there is a current item.