Struct associating a command with a string.

The command table should be an array of these kinds of structs.

Public Attributes#

const char *

String associated with command/group.

Pointer to command information.

const bool

Indicating if the entry is a shortcut.

Public Attribute Documentation#

name#

const char* sl_cli_command_entry_t::name

String associated with command/group.


Definition at line 125 of file platform/service/cli/inc/sl_cli_types.h

command#

const sl_cli_command_info_t* sl_cli_command_entry_t::command

Pointer to command information.


Definition at line 126 of file platform/service/cli/inc/sl_cli_types.h

is_shortcut#

const bool sl_cli_command_entry_t::is_shortcut

Indicating if the entry is a shortcut.


Definition at line 127 of file platform/service/cli/inc/sl_cli_types.h