dropshell/src/autocomplete.hpp
Your Name 3c8a66c241
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 20s
Pre big change
2025-05-11 11:33:21 +12:00

28 lines
729 B
C++

#ifndef AUTOCOMPLETE_HPP
#define AUTOCOMPLETE_HPP
#include <string>
#include <vector>
#include <set>
namespace autocomplete {
extern const std::set<std::string> system_commands_noargs;
extern const std::set<std::string> system_commands_always_available;
extern const std::set<std::string> system_commands_require_config;
extern const std::set<std::string> system_commands_hidden;
extern const std::set<std::string> service_commands_require_config;
void merge_commands(std::set<std::string> &commands, const std::set<std::string> &new_commands);
bool is_no_arg_cmd(std::string cmd);
bool autocomplete(const std::vector<std::string> &args);
bool autocomplete_list_commands();
}
#endif