mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
modules/console: Add event horizon rebuild cmd.
This commit is contained in:
parent
3d5b2ca262
commit
91cc12db84
1 changed files with 12 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue