ldc-gen-game-web/routes/console.php

20 lines
625 B
PHP
Raw Permalink Normal View History

2020-10-21 15:26:21 +02:00
<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
/*
2022-08-11 10:03:16 +02:00
|--------------------------------------------------------------------------
| 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.
|
2020-10-21 15:26:21 +02:00
*/
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->describe('Display an inspiring quote');