sl_cli_command_arg_t Struct Reference
Command arguments data type.
#include <sl_cli_types.h>
Data Fields |
|
| struct sl_cli * | handle |
|
The current cli handle.
|
|
| int | argc |
|
The total number of input strings (command group names, if any + command + corresponding arguments).
|
|
| void ** | argv |
|
A pointer to the input string array.
|
|
| int | arg_ofs |
|
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 * | arg_type_list |
|
List of argument types.
|
|
Command arguments data type.
Field 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.