16 std::vector<std::shared_ptr<CommandLineComponent>> m_components;
17 std::map<std::string_view, std::shared_ptr<CommandLineComponent>> m_componentMap;
18 std::shared_ptr<CommandLineComponent> m_current =
nullptr;
21 static std::map<std::string_view, std::shared_ptr<CommandLineComponent>> build(
22 const std::vector<std::shared_ptr<CommandLineComponent>> &
components);
53 const std::shared_ptr<CommandLineComponent> &
currentOf();