2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20#ifndef CLI_EXCEPTIONS_H
21#define CLI_EXCEPTIONS_H
23#ifndef DOXYGEN_SHOULD_SKIP_THIS
26#pragma GCC diagnostic push
27#pragma GCC diagnostic ignored "-Wfloat-equal"
29#if __has_warning
("-Wweak-vtables")
30#pragma GCC diagnostic ignored "-Wweak-vtables"
32#if __has_warning
("-Wcovered-switch-default")
33#pragma GCC diagnostic ignored "-Wcovered-switch-default"
37#include "utils/CLI11.hpp"
39#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)
static void setQuiet(bool quiet=true)
static CLI::Option * logLevelOpt
static std::map< std::string, CLI::Option * > applicationOptions
static int getVerboseLevel()
static std::string configDirectory
static std::shared_ptr< CLI::App > app
static CLI::Option * groupNameOpt
static CLI::Option * verboseLevelOpt
static CLI::Option * quietOpt
static bool init(int argc, char *argv[])
static std::string pidDirectory
static std::shared_ptr< CLI::Formatter > sectionFormatter
static std::map< std::string, std::string > aliases
static void required(CLI::App *instance, bool reqired=true)
static CLI::Option * logFileOpt
static CLI::Option * enforceLogFileOpt
static std::string applicationName
static std::string logDirectory
static CLI::Option * userNameOpt
static CLI::Option * daemonizeOpt
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)