0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 01:59:33 +02:00

modules/console: Checkpoint additional key get cmd branch.

This commit is contained in:
Jason Volk 2018-09-04 23:22:09 -07:00
parent 5963786ebf
commit 486a40fc39

View file

@ -2938,8 +2938,20 @@ console_cmd__key__get(opt &out, const string_view &line)
{
out << keys << std::endl;
});
}
else
{
const std::pair<string_view, string_view> queries[1]
{
{ server_name, {} }
};
return true;
m::keys::query(query_server, queries, [&out]
(const auto &keys)
{
out << keys << std::endl;
return true;
});
}
return true;