![SWC-DB logo](logo.svg) |
SWC-DB
v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
|
Go to the documentation of this file.
6 #ifndef swcdb_app_utils_Settings_h
7 #define swcdb_app_utils_Settings_h
47 settings->cmdline_desc
50 "SWC-DB(utils) Usage: %s 'command' [options]\n\nOptions:")
53 (
"command,cmd",
str(
"shell"),
54 "Command to execute shell|status|report|custom (1st arg token)")
57 (
"lib-path",
str(settings->install_path+
"/lib/"),
58 "Path to utilities libraries")
59 (
"lib",
str(),
"Utility-Library of the custom command")
62 "Query applicable requests with Broker")
64 (
"ranger,rgr",
"Work with Ranger")
65 (
"manager,mngr",
"Work with Manager")
66 (
"filesystem,fs",
"Work with FileSystem type by swc.fs='type'")
67 (
"statistics,stats,monit",
"Work with Statistics monitor")
74 auto loglevel = settings->get<Property::Value_enum_g>(
"swc.logging.level");
75 if(loglevel->is_default())
81 #endif // swcdb_app_utils_Settings_h
void swcdb_utils_apply_cfg_t(SWC::Env::Config::Ptr env)
void init_app_options(Settings *settings)
Property::Value_bool::Ptr boo(const bool &v)
std::shared_ptr< Config > Ptr
void init_fs_options(Settings *settings)
void init_client_options(Settings *settings)
void init_comm_options(Settings *settings)
The SWC-DB C++ namespace 'SWC'.
Property::Value_string::Ptr str(std::string &&v)
Ptr zero_token() noexcept
void init_post_cmd_args(Settings *settings)