3 use Illuminate\Foundation\Inspiring;
4 use Illuminate\Support\Facades\Artisan;
7 |--------------------------------------------------------------------------
9 |--------------------------------------------------------------------------
11 | This file is where you may define all of your Closure based console
12 | commands. Each Closure is bound to a command instance allowing a
13 | simple approach to interacting with each command's IO methods.
17 Artisan::command('inspire', function () {
18 $this->comment(Inspiring::quote());
19 })->purpose('Display an inspiring quote');