Spaces:
Sleeping
Sleeping
Download routes/console.php from Anuj-Panthri/Learn-Guide: direct link, hf CLI and curl.
- Browser
- Download file 592 Bytes
-
https://huggingface.co/spaces/Anuj-Panthri/Learn-Guide/resolve/main/routes/console.php
- Command line
-
hf download hf://spaces/Anuj-Panthri/Learn-Guide/routes/console.php
-
curl -L -o console.php https://huggingface.co/spaces/Anuj-Panthri/Learn-Guide/resolve/main/routes/console.php
592 Bytes
| use Illuminate\Foundation\Inspiring; | |
| 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()); | |
| })->purpose('Display an inspiring quote'); | |