13 static constexpr std::string_view m_name =
"Process";
14 static constexpr std::string_view m_alias =
"Pros";
15 static constexpr std::string_view m_description =
"The component can be used to show all kind of processes.";
16 std::shared_ptr<ProcessApi> m_processApi;
32 std::optional<std::string> m_processName;
33 std::optional<std::string> m_processGroup;
34 std::vector<std::string> m_arguments;
35 std::optional<int32_t> m_restarts;
36 std::string m_processId;
41 static void printProcesses(
const std::vector<ProcessInfoDto> &
processInfo);
44 static void printProcessGroups(
const std::vector<ProcessGroupDto> &
processGroup);