21 lines
580 B
C
Raw Normal View History

2025-12-05 12:32:09 +01:00
#ifndef RAVA_REPL_COMMANDS_H
#define RAVA_REPL_COMMANDS_H
#include "repl_types.h"
#include "repl_session.h"
typedef struct {
const char *name;
const char *alias;
const char *description;
RavaREPLCommand_e command;
} RavaREPLCommandDef_t;
bool rava_repl_command_is_command(const char *input);
RavaREPLCommand_e rava_repl_command_parse(const char *input, char **arg);
bool rava_repl_command_execute(RavaREPLSession_t *session, RavaREPLCommand_e cmd, const char *arg);
void rava_repl_command_help(const char *topic);
void rava_repl_command_list_all(void);
#endif