#ifndef CLI_H
#define CLI_H
+#include "common.h"
+
/**
* Go into the command loop
*
* (If cmd is NULL or "" or longer than CONFIG_SYS_CBSIZE-1 it is
* considered unrecognized)
*/
-//int cli_simple_run_command(const char *cmd, int flag);
+//int cli_simple_run_command(const char *cmd, uint_fast8_t flag);
/**
* cli_simple_run_command_list() - Execute a list of command
* @param flag Execution flags (CMD_FLAG_...)
* @return 0 on success, or != 0 on error.
*/
-//int cli_simple_run_command_list(char *cmd, int flag);
+//int cli_simple_run_command_list(char *cmd, uint_fast8_t flag);
/**
* parse_line() - split a command line down into separate arguments
* @param flag Execution flags (CMD_FLAG_...)
* @return 0 on success, or != 0 on error.
*/
-int run_command(const char *cmd, int flag);
+int run_command(const char *cmd, uint_fast8_t flag);
int run_command_list(const char *cmd, int len);