Skip to content

Commit

Permalink
Add 'Commands' directory scan for artisan commands
Browse files Browse the repository at this point in the history
  • Loading branch information
rgasch authored May 25, 2021
1 parent f692907 commit eede055
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ protected function schedule(Schedule $schedule)
*/
protected function commands()
{
$this->load(__DIR__.'/Commands');

require base_path('routes/console.php');
}
}

0 comments on commit eede055

Please sign in to comment.