From 430d6e0a6ffaf5140ce8b5bd0af133dffa2e5b3b Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 28 May 2025 17:28:01 +1200 Subject: [PATCH] :-'Generic Commit' --- dropshell-tool/src/main.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dropshell-tool/src/main.cpp b/dropshell-tool/src/main.cpp index 2937c76..fd58827 100644 --- a/dropshell-tool/src/main.cpp +++ b/dropshell-tool/src/main.cpp @@ -53,7 +53,7 @@ */ - +#include "version.hpp" #include "BashrcEditor.hpp" #include "DropshellScriptManager.hpp" #include "GetbinClient.hpp" @@ -77,11 +77,17 @@ int main(int argc, char* argv[]) { } else if (command == "autocomplete") { // TODO: Implement autocomplete logic } else if (command == "version") { - // TODO: Print version + std::cout << dropshell::VERSION << std::endl; } else if (command == "create") { // TODO: Implement create logic } else if (command == "help") { - // TODO: Print help + std::cout << "Usage: dropshell-tool [args...]" << std::endl; + std::cout << "Commands:" << std::endl; + std::cout << " install " << std::endl; + std::cout << " publish " << std::endl; + std::cout << " update " << std::endl; + std::cout << " autocomplete " << std::endl; + std::cout << " version" << std::endl; } else { std::cout << "Unknown command: " << command << std::endl; return 1;