sl_cli_command_entry_t Struct Reference

Struct associating a command with a string.

#include <sl_cli_types.h>

Data Fields

const char * name
 String associated with command/group.
 
const sl_cli_command_info_tcommand
 Pointer to command information.
 
const bool is_shortcut
 Indicating if the entry is a shortcut.
 

Struct associating a command with a string.

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

Field Documentation

◆ name

const char* sl_cli_command_entry_t::name

String associated with command/group.

◆ command

const sl_cli_command_info_t* sl_cli_command_entry_t::command

Pointer to command information.

◆ is_shortcut

const bool sl_cli_command_entry_t::is_shortcut

Indicating if the entry is a shortcut.