note todo
This commit is contained in:
parent
88106b3260
commit
50e340f1c5
@ -63,6 +63,9 @@ std::vector<std::string> autocomplete_list_commands() {
|
|||||||
std::vector<std::string> commands;
|
std::vector<std::string> commands;
|
||||||
std::set<std::string> unique_commands; // To ensure deduplication
|
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
|
// Helper function to add commands from a directory
|
||||||
auto add_commands_from_dir = [&unique_commands](const std::string& dir_path) {
|
auto add_commands_from_dir = [&unique_commands](const std::string& dir_path) {
|
||||||
if (!fs::exists(dir_path)) {
|
if (!fs::exists(dir_path)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user