Command arguments data type.

Public Attributes#

struct sl_cli *

The current cli handle.

int

The total number of input strings (command group names, if any + command + corresponding arguments).

void **

A pointer to the input string array.

int

The offset in the input string array where the arguments start (after the command group names, if any and command).

List of argument types.

Public Attribute Documentation#

handle#

struct sl_cli* sl_cli_command_arg_t::handle

The current cli handle.


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

argc#

int sl_cli_command_arg_t::argc

The total number of input strings (command group names, if any + command + corresponding arguments).


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

argv#

void** sl_cli_command_arg_t::argv

A pointer to the input string array.


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

arg_ofs#

int sl_cli_command_arg_t::arg_ofs

The offset in the input string array where the arguments start (after the command group names, if any and command).


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

arg_type_list#

const sl_cli_argument_type_t* sl_cli_command_arg_t::arg_type_list

List of argument types.


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