![]() |
MT7687 API Reference
LinkIt SDK v4
|
The MiniCLI command declaration structure. More...
#include <cli.h>
Data Fields | |
| char * | cmd |
| Command string. More... | |
| char * | help |
| Type '?' to retrieve help message. More... | |
| cli_cmd_handler_t | fptr |
| The function pointer to call when an input string matches with the command in MiniCLI engine. More... | |
| cmd_t * | sub |
| Sub-commands. More... | |
The MiniCLI command declaration structure.
The strcut cmd_s is defined to aggregate function pointer, help messsage and sub-commands for MiniCLI engine.
| char* cmd |
Command string.
| cli_cmd_handler_t fptr |
The function pointer to call when an input string matches with the command in MiniCLI engine.
| char* help |
Type '?' to retrieve help message.
| cmd_t* sub |
Sub-commands.