You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
553 B

8 years ago
  1. <?php
  2. use Illuminate\Foundation\Inspiring;
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Console Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | This file is where you may define all of your Closure based console
  9. | commands. Each Closure is bound to a command instance allowing a
  10. | simple approach to interacting with each command's IO methods.
  11. |
  12. */
  13. Artisan::command('inspire', function () {
  14. $this->comment(Inspiring::quote());
  15. })->describe('Display an inspiring quote');