diff --git a/system/CLI/Console.php b/system/CLI/Console.php index 16e5df831efc..adcf9aaeca8b 100644 --- a/system/CLI/Console.php +++ b/system/CLI/Console.php @@ -35,6 +35,8 @@ public function run() // Create CLIRequest $appConfig = config(App::class); Services::createRequest($appConfig, true); + // Load Routes + Services::routes()->loadRoutes(); $runner = Services::commands(); $params = array_merge(CLI::getSegments(), CLI::getOptions());