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

This commit is contained in:
Chris Miles authored and GitHub committed 2022-09-28 03:04:09 -05:00
1 parent 7ac8fe17e5
commit 9d766bf5dc
17 files changed
+549 -638

No files matched your search

+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;