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
45#include "utils/SubCommand.h"
47#ifndef DOXYGEN_SHOULD_SKIP_THIS
58 constexpr static std::string_view
NAME{
"www"};
59 constexpr static std::string_view
DESCRIPTION{
"Web behavior of httpserver"};
ConfigWWW(utils::SubCommand *parent)
static constexpr std::string_view NAME
static constexpr std::string_view DESCRIPTION
ConfigWWW & setHtmlRoot(const std::string &htmlRoot)
std::string getHtmlRoot()
CLI::Option * htmlRootOpt
SubCommand * required(CLI::Option *option, bool required=true)
CLI::Option * setDefaultValue(CLI::Option *option, const ValueTypeT &value, bool clear=true) const
CLI::Option * addOption(const std::string &name, const std::string &description, const std::string &typeName, const CLI::Validator &validator) const
SubCommand(SubCommand *parent, ConcretSubCommand *concretSubCommand, const std::string &group, bool final=false)