2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#ifndef CLI_EXCEPTIONS_H
43#define CLI_EXCEPTIONS_H
45#ifndef DOXYGEN_SHOULD_SKIP_THIS
48#pragma GCC diagnostic push
49#pragma GCC diagnostic ignored "-Wfloat-equal"
51#if __has_warning
("-Wweak-vtables")
52#pragma GCC diagnostic ignored "-Wweak-vtables"
54#if __has_warning
("-Wcovered-switch-default")
55#pragma GCC diagnostic ignored "-Wcovered-switch-default"
59#include "utils/CLI11.hpp"
61#pragma GCC diagnostic pop
CLI::App * getApp() const
CallForCommandline(CLI::App *app, const std::string &description, Mode mode)
~CallForCommandline() override
CLI::App * getApp() const
~CallForShowConfig() override
CallForShowConfig(CLI::App *app)
std::string getConfigFile() const
~CallForWriteConfig() override
CallForWriteConfig(const std::string &configFile)
DaemonError(const std::string &errorMessage)
~DaemonFailure() override
DaemonFailure(const std::string &failureMessage)
~DaemonSignaled() override
DaemonSignaled(const std::string &message, pid_t pid)
static void startDaemon(const std::string &pidFileName, const std::string &userName, const std::string &groupName)
static pid_t stopDaemon(const std::string &pidFileName)
static void erasePidFile(const std::string &pidFileName)
static const std::shared_ptr< CLI::App > makeApp()
static std::string createCommandLineTemplate(CLI::App *app, CLI::CallForCommandline::Mode mode)
static const std::shared_ptr< CLI::HelpFormatter > makeSectionFormatter()
static void createCommandLineTemplate(std::stringstream &out, CLI::App *app, CLI::CallForCommandline::Mode mode)
static void createCommandLineOptions(std::stringstream &out, CLI::App *app, CLI::CallForCommandline::Mode mode)
static std::string createCommandLineOptions(CLI::App *app, CLI::CallForCommandline::Mode mode)
static std::string createCommandLineSubcommands(CLI::App *app, CLI::CallForCommandline::Mode mode)