r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
argsHandler.cpp File Reference
#include <functional>
#include <iostream>
#include <unordered_map>
#include "Server/ArgsHandler.hpp"
#include "Server/Generated/Version.hpp"
#include "Utils/Logger.hpp"
+ Include dependency graph for argsHandler.cpp:

Go to the source code of this file.

Macros

#define APP_EXTENSION   ""
 

Variables

static constexpr std::string_view HELP_MESSAGE
 
static constexpr std::string_view VERSION_MESSAGE
 

Macro Definition Documentation

◆ APP_EXTENSION

#define APP_EXTENSION   ""

Definition at line 9 of file argsHandler.cpp.

Variable Documentation

◆ HELP_MESSAGE

std::string_view HELP_MESSAGE
staticconstexpr
Initial value:
= "Usage: " PROJECT_NAME APP_EXTENSION " [options]\n\n"
"Options:\n"
"\t--help, -h Show this help message\n"
"\t--version, -v Show version information\n"
"\t--config, -c Specify path to config file\n"
#define PROJECT_NAME
Definition Version.hpp:7
#define APP_EXTENSION

Definition at line 16 of file argsHandler.cpp.

◆ VERSION_MESSAGE

std::string_view VERSION_MESSAGE
staticconstexpr
Initial value:
= PROJECT_NAME " version " PROJECT_VERSION "\n"
"Build type: " BUILD_TYPE "\n"
"Git tag: " GIT_TAG "\n"
"Git commit hash: " GIT_COMMIT_HASH "\n"
#define BUILD_TYPE
Definition Version.hpp:15
#define PROJECT_VERSION
Definition Version.hpp:8
#define GIT_TAG
Definition Version.hpp:14
#define GIT_COMMIT_HASH
Definition Version.hpp:13

Definition at line 21 of file argsHandler.cpp.