:-'Generic Commit'

This commit is contained in:
Your Name 2025-05-28 17:28:01 +12:00
parent b258ae1051
commit 430d6e0a6f

View File

@ -53,7 +53,7 @@
*/ */
#include "version.hpp"
#include "BashrcEditor.hpp" #include "BashrcEditor.hpp"
#include "DropshellScriptManager.hpp" #include "DropshellScriptManager.hpp"
#include "GetbinClient.hpp" #include "GetbinClient.hpp"
@ -77,11 +77,17 @@ int main(int argc, char* argv[]) {
} else if (command == "autocomplete") { } else if (command == "autocomplete") {
// TODO: Implement autocomplete logic // TODO: Implement autocomplete logic
} else if (command == "version") { } else if (command == "version") {
// TODO: Print version std::cout << dropshell::VERSION << std::endl;
} else if (command == "create") { } else if (command == "create") {
// TODO: Implement create logic // TODO: Implement create logic
} else if (command == "help") { } else if (command == "help") {
// TODO: Print help std::cout << "Usage: dropshell-tool <command> [args...]" << std::endl;
std::cout << "Commands:" << std::endl;
std::cout << " install <tool_name>" << std::endl;
std::cout << " publish <tool_name:ARCH> <folder>" << std::endl;
std::cout << " update <tool_name>" << std::endl;
std::cout << " autocomplete <args>" << std::endl;
std::cout << " version" << std::endl;
} else { } else {
std::cout << "Unknown command: " << command << std::endl; std::cout << "Unknown command: " << command << std::endl;
return 1; return 1;