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.


argc#

int sl_cli_command_arg_t::argc

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


argv#

void** sl_cli_command_arg_t::argv

A pointer to the input string array.


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).


arg_type_list#

const sl_cli_argument_type_t* sl_cli_command_arg_t::arg_type_list

List of argument types.