1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 #ifndef CALISTCOMMAND_H
4 #define CALISTCOMMAND_H
6 #include "cli/clicommand.hpp"
12 * The "ca list" command.
16 class CAListCommand final : public CLICommand
19 DECLARE_PTR_TYPEDEFS(CAListCommand);
21 String GetDescription() const override;
22 String GetShortDescription() const override;
23 void InitParameters(boost::program_options::options_description& visibleDesc,
24 boost::program_options::options_description& hiddenDesc) const override;
25 int Run(const boost::program_options::variables_map& vm, const std::vector<std::string>& ap) const override;
28 static void PrintRequest(const String& requestFile);
33 #endif /* CALISTCOMMAND_H */