Structure used for each CLI command table entry. More...
#include <tr_cli_command_table.h>
Data Fields | |
| const char * | command |
| Command string that triggers this handler. | |
| int(* | handler )(int argc, char *argv[]) |
| Function pointer to the command handler. | |
| const char * | help |
| Help text describing the command. | |
Structure used for each CLI command table entry.
| const char* tr_command_s::command |
Command string that triggers this handler.
| int(* tr_command_s::handler) (int argc, char *argv[]) |
Function pointer to the command handler.
| [in] | argc | Number of arguments. |
| [in] | argv | Array of argument strings. |
| const char* tr_command_s::help |
Help text describing the command.