This commit is contained in:
Your Name
2025-04-25 12:21:56 +12:00
parent 379b4c47f4
commit 7e499195e5
11 changed files with 33 additions and 805 deletions

View File

@ -1,10 +1,9 @@
#include "main.hpp"
#include "version.hpp"
#include "config.hpp"
#include "service_runner.hpp"
#include "services.hpp"
#include "servers.hpp"
#include "utils/directories.hpp"
#include "config.hpp"
#include "templates.hpp"
#include <boost/filesystem.hpp>
@ -14,6 +13,14 @@
namespace dropshell {
void print_version() {
std::cout << "dropshell version " << VERSION << std::endl;
std::cout << "Release date: " << RELEASE_DATE << std::endl;
std::cout << "Author: " << AUTHOR << std::endl;
std::cout << "License: " << LICENSE << std::endl;
}
void print_help() {
std::cout << "Usage: dropshell [OPTIONS] COMMAND [ARGS]" << std::endl;
std::cout << std::endl;
@ -162,7 +169,7 @@ int main(int argc, char* argv[]) {
// No arguments provided
if (argc < 2) {
dropshell::interactive_mode();
dropshell::print_help();
return 0;
}