Files
spa-api/routes/console.php

20 lines
592 B
PHP
Raw Normal View History

<?php
use Illuminate\Foundation\Inspiring;
2019-12-20 15:10:23 -06:00
use Illuminate\Support\Facades\Artisan;
/*
|--------------------------------------------------------------------------
| Console Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of your Closure based console
| commands. Each Closure is bound to a command instance allowing a
| simple approach to interacting with each command's IO methods.
|
*/
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
2020-08-01 09:50:05 -05:00
})->purpose('Display an inspiring quote');