#include "ConfigCheck.h" #include "lib/config/ConfigCheck.h" namespace bts::cmds { struct ConfigCheck::Args { std::vector args; }; ConfigCheck::ConfigCheck() : CLI::App("Print current configuration", "config-check"), _args(new ConfigCheck::Args()) { add_option("args", _args->args); callback([&] { std::vector ch_args; for (auto const &s : _args->args) ch_args.push_back(s.c_str()); configcheck(ch_args.size(), &ch_args[0]); }); } ConfigCheck::~ConfigCheck() {} } // namespace bts::cmds