26#ifndef MYSQLROUTER_PLUGIN_INFO_APP_INCLUDED
27#define MYSQLROUTER_PLUGIN_INFO_APP_INCLUDED
90 const std::vector<std::string> &arguments,
96 std::
string get_help(const
size_t screen_width = 80) const;
Defining the commandline argument handler class CmdArgHandler.
Handles command line arguments.
Definition: arg_handler.h:141
exception thrown by the frontend.
Definition: passwd.h:42
FrontendError(const std::string &what)
Definition: plugin_info_app.h:43
Definition: plugin_info_app.h:63
std::ostream & cout_
Definition: plugin_info_app.h:115
Cmd
Definition: plugin_info_app.h:65
std::string get_version() const noexcept
Definition: plugin_info_app.cc:52
PluginInfoFrontend(const std::string &exe_name, const std::vector< std::string > &arguments, std::ostream &out)
Constructor.
Definition: plugin_info_app.cc:38
CmdArgHandler arg_handler_
Definition: plugin_info_app.h:114
Config config_
Definition: plugin_info_app.h:117
int run()
Executes the action requested from the application with the parameters passed to the constructor.
Definition: plugin_info_app.cc:105
void prepare_command_options()
Definition: plugin_info_app.cc:93
std::string get_help(const size_t screen_width=80) const
Definition: plugin_info_app.cc:64
std::string program_name_
Definition: plugin_info_app.h:113
frontend error that involved the command-line options.
Definition: passwd.h:53
UsageError(const std::string &what)
Definition: plugin_info_app.h:54
Definition: gcs_xcom_synode.h:64
const std::string kPluginInfoAppName
Definition: plugin_info_app.h:34
Definition: plugin_info_app.h:66
std::string username
Definition: plugin_info_app.h:69
std::string filename
Definition: plugin_info_app.h:68
Cmd cmd
Definition: plugin_info_app.h:67