12 static constexpr std::string_view n_name =
"History";
13 static constexpr std::string_view m_alias =
"Hist";
14 static constexpr std::string_view m_description =
"The Component can be used to show the history of components";
15 std::shared_ptr<HistoryApi> m_historyApi;
18 enum Commands { Undefined, ShowHistories };
21 std::optional<std::string> m_processName;
22 std::optional<std::string> m_serviceName;
23 std::optional<std::string> m_label;
28 static void printHistories(
const std::vector<HistoryDto> &
histories);
Definition HistoryCliComponent.h:11
bool onMenu(const std::string &component) override
void onCommand(const UserDto &userDto, const std::string &command, const std::vector< std::string > ¶meters) override
void printCommandList(std::set< std::string > menuAlias) override
HistoryCliComponent(std::shared_ptr< HistoryApi > historyApi)
std::vector< std::string > allCommandsOf() override
void onShowMenu() override