77 const std::shared_ptr<std::vector<std::shared_ptr<Command>>>& cmds,
78 const std::string& currentLine)
80 std::vector<std::string> result;
81 std::for_each(cmds->begin(), cmds->end(),
82 [¤tLine, &result](
const auto& cmd)
84 auto c = cmd->GetCompletionRecursive(currentLine);
85 result.insert(result.end(),
86 std::make_move_iterator(c.begin()),
87 std::make_move_iterator(c.end()));