5 #ifndef JODA_CLICOMLETION_H
6 #define JODA_CLICOMLETION_H
20 static char **
completer(
const char *text,
int start,
int end);
22 static void setCli_commands(
const std::vector<std::string> &cli_commands);
25 static std::vector<std::string> cli_commands;
26 static std::vector<std::string> matches;
27 static size_t match_index;
35 static char *basic_command_completer(
const char *text,
int state);
42 static char *basic_query_completer(
const char *text,
int state);
44 static char *storage_completer(
const char *text,
int state);
46 static char *query_function_completer(
const char *text,
int state);
48 static char *return_match();
50 static void init_match(
const std::vector<std::string> &cmds,
Definition: CLICompletion.h:11
static char ** completer(const char *text, int start, int end)
Definition: CLICompletion.cpp:21
static void setCli_commands(const std::vector< std::string > &cli_commands)
Definition: CLICompletion.cpp:112