3 #include "CommandLineArgs.h"
4 #include "../odbdesign_export.h"
6 namespace Odb::Lib::App
8 class ODBDESIGN_EXPORT
OdbDesignArgs :
public Utils::CommandLineArgs
14 bool useHttps()
const;
15 std::string sslDir()
const;
16 std::string designsDir()
const;
17 std::string templatesDir()
const;
19 std::string loadDesign()
const;
21 bool disableAuthentication()
const;
25 std::string getUsageString()
const override;
28 constexpr
static const int DEFAULT_PORT = 8888;
29 constexpr
static const bool DEFAULT_USE_HTTPS =
false;
30 constexpr
static const char* DEFAULT_SSL_DIR =
"./ssl";
31 constexpr
static const char* DEFAULT_DESIGNS_DIR =
"designs";
32 constexpr
static const char* DEFAULT_TEMPLATES_DIR =
"templates";
33 constexpr
static const bool DEFAULT_HELP =
false;
34 constexpr
static const char* DEFAULT_LOAD_DESIGN =
"";
35 constexpr
static const bool DEFAULT_LOAD_ALL =
false;
36 constexpr
static const bool DEFAULT_DISABLE_AUTH =
false;