[World CLI] Refactor world CLI to be easier to reason about (#2441)

This commit is contained in:
Chris Miles
2022-09-28 03:04:09 -05:00
committed by GitHub
parent 7ac8fe17e5
commit 9d766bf5dc
17 changed files with 549 additions and 638 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
#include "world_boot.h"
#include "world_config.h"
#include "world_event_scheduler.h"
#include "world_server_command_handler.h"
#include "world_server_cli.h"
#include "../common/zone_store.h"
#include "worlddb.h"
#include "zonelist.h"
@@ -87,7 +87,7 @@ bool WorldBoot::HandleCommandInput(int argc, char **argv)
WorldConfig::LoadConfig();
LoadDatabaseConnections();
LogSys.EnableConsoleLogging();
WorldserverCommandHandler::CommandHandler(argc, argv);
WorldserverCLI::CommandHandler(argc, argv);
}
return false;