This commit is contained in:
Your Name
2025-04-21 16:33:46 +12:00
parent 5861c9c776
commit b49bc0c5de
7 changed files with 73 additions and 3 deletions

View File

@ -117,6 +117,14 @@ int main(int argc, char* argv[]) {
return 0;
}
if (cmd == "autocomplete_list_commands") {
auto commands = dropshell::autocomplete_list_commands();
for (const auto& command : commands) {
std::cout << command << std::endl;
}
return 0;
}
if (cmd == "install") {
if (argc < 3) {
std::cerr << "Error: install command requires server name and optionally service name" << std::endl;