]> granicus.if.org Git - icinga2/blob - lib/cli/featureenablecommand.hpp
Added ca restore command+docs to undo effects of ca remove
[icinga2] / lib / cli / featureenablecommand.hpp
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #ifndef FEATUREENABLECOMMAND_H
4 #define FEATUREENABLECOMMAND_H
5
6 #include "cli/clicommand.hpp"
7
8 namespace icinga
9 {
10
11 /**
12  * The "feature enable" command.
13  *
14  * @ingroup cli
15  */
16 class FeatureEnableCommand final : public CLICommand
17 {
18 public:
19         DECLARE_PTR_TYPEDEFS(FeatureEnableCommand);
20
21         String GetDescription() const override;
22         String GetShortDescription() const override;
23         int GetMinArguments() const override;
24         int GetMaxArguments() const override;
25         std::vector<String> GetPositionalSuggestions(const String& word) const override;
26         ImpersonationLevel GetImpersonationLevel() const override;
27         int Run(const boost::program_options::variables_map& vm, const std::vector<std::string>& ap) const override;
28 };
29
30 }
31
32 #endif /* FEATUREENABLECOMMAND_H */