1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 #ifndef NODEWIZARDCOMMAND_H
4 #define NODEWIZARDCOMMAND_H
6 #include "cli/clicommand.hpp"
12 * The "node wizard" command.
16 class NodeWizardCommand final : public CLICommand
19 DECLARE_PTR_TYPEDEFS(NodeWizardCommand);
21 String GetDescription() const override;
22 String GetShortDescription() const override;
23 int GetMaxArguments() const override;
24 int Run(const boost::program_options::variables_map& vm, const std::vector<std::string>& ap) const override;
25 ImpersonationLevel GetImpersonationLevel() const override;
26 void InitParameters(boost::program_options::options_description& visibleDesc,
27 boost::program_options::options_description& hiddenDesc) const override;
30 int ClientSetup() const;
31 int MasterSetup() const;
36 #endif /* NODEWIZARDCOMMAND_H */