10#ifndef TR_CLI_COMMAND_PARSER_H
11#define TR_CLI_COMMAND_PARSER_H
29#define TR_ARGUMENT_PARSER_MAX_ARGS (15)
uint64_t tr_dec_or_hex_string_to_int(const char *number_string)
Converts a decimal or hexadecimal string to an integer.
void tr_cli_parse_command(const tr_command_s *cmd_table, int argc, char **argv)
Parses a command and executes the appropriate handler.
uint8_t tr_cli_get_option(int argc, char *argv[], char *opt_string, char **ret_arg)
Gets an option from the command line arguments.
Structure used for each CLI command table entry.
Definition tr_cli_command_table.h:28
common CLI command table structure