Browse Source

auto loads commands

Taylor Otwell 6 years ago
parent
commit
5d54c21ea8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Console/Kernel.php

+ 2 - 0
app/Console/Kernel.php

@@ -35,6 +35,8 @@ class Kernel extends ConsoleKernel
      */
     protected function commands()
     {
+        $this->load(__DIR__.'/Commands');
+
         require base_path('routes/console.php');
     }
 }