diff options
author | ryo <ryo@nopwd.lol> | 2025-03-06 13:06:42 +0000 |
---|---|---|
committer | ryo <ryo@nopwd.lol> | 2025-03-06 13:06:42 +0000 |
commit | e1a48c8208c181fd40ecb065878ba9ea49b1f48f (patch) | |
tree | d7a0cafef9d406dd21a694ed60ab6f1ea034335f /routes/console.php |
Initial Commit
Diffstat (limited to 'routes/console.php')
-rw-r--r-- | routes/console.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/routes/console.php b/routes/console.php new file mode 100644 index 0000000..19cef70 --- /dev/null +++ b/routes/console.php @@ -0,0 +1,10 @@ +<?php + +use Illuminate\Foundation\Console\ClosureCommand; +use Illuminate\Foundation\Inspiring; +use Illuminate\Support\Facades\Artisan; + +Artisan::command('inspire', function () { + /** @var ClosureCommand $this */ + $this->comment(Inspiring::quote()); +})->purpose('Display an inspiring quote'); |