0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

modules/console: Add event horizon rebuild cmd.

This commit is contained in:
Jason Volk 2019-08-30 21:50:10 -07:00
parent 3d5b2ca262
commit 91cc12db84

View file

@ -6961,6 +6961,18 @@ console_cmd__event__horizon__list(opt &out, const string_view &line)
return true;
}
bool
console_cmd__event__horizon__rebuild(opt &out, const string_view &line)
{
const auto count
{
m::event::horizon::rebuild()
};
out << "done " << count << std::endl;
return true;
}
bool
console_cmd__event__horizon__flush(opt &out, const string_view &line)
{