19#ifdef CONFIG_OVE_SHELL
35[[nodiscard]]
inline int init() {
36 return ove_shell_init();
44[[nodiscard]]
inline int register_cmd(
const struct ove_shell_cmd *cmd) {
45 return ove_shell_register_cmd(cmd);
56 ove_shell_process_char(c);
64 ove_shell_process_line(line);
72 ove_shell_set_output_hook(hook);
void process_char(int c)
Feeds a single character into the shell input processor.
Definition shell.hpp:55
void process_line(const char *line)
Process a complete input line through the shell.
Definition shell.hpp:63
int register_cmd(const struct ove_shell_cmd *cmd)
Registers a shell command.
Definition shell.hpp:44
int init()
Initialises the shell subsystem.
Definition shell.hpp:35
void set_output_hook(ove_shell_output_hook_t hook)
Set a hook to capture shell output.
Definition shell.hpp:71
Top-level namespace for all oveRTOS C++ abstractions.
Definition app.hpp:19
Common type definitions and concepts for the C++ wrapper layer.