mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 16:34:13 +01:00
modules/console: Checkpoint additional key get cmd branch.
This commit is contained in:
parent
5963786ebf
commit
486a40fc39
1 changed files with 13 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue