note todo

This commit is contained in:
j842 2025-04-23 13:58:28 +12:00
parent 88106b3260
commit 50e340f1c5

View File

@ -62,6 +62,9 @@ std::vector<std::string> autocomplete_list_services(const std::string& server_na
std::vector<std::string> autocomplete_list_commands() {
std::vector<std::string> commands;
std::set<std::string> unique_commands; // To ensure deduplication
NEED TO CHANGE THIS SO IT ITERATES THROUGH ACTUAL INSTALLED SERVICES, NOT TEMPLATES!
// Helper function to add commands from a directory
auto add_commands_from_dir = [&unique_commands](const std::string& dir_path) {