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).
const sl_cli_argument_type_t *
List of argument types.
Public Attribute Documentation#
argc#
int sl_cli_command_arg_t::argc
The total number of input strings (command group names, if any + command + corresponding arguments).
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.