A single command in the list of the supported commands. More...
A single command in the list of the supported commands.
The list of commands is NULL terminated, i.e. the last element must be { NULL, NULL, NULL }.
#include <shell.h>
Data Fields | |
| const char * | name |
| Name of the function. | |
| const char * | desc |
| Description to print in the "help" command. | |
| shell_command_handler_t | handler |
| The callback function. | |