<?php

use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schedule;

Artisan::command('inspire', function () {
    $this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');

// Friendly daily nudge to learners who enrolled but stalled mid-course.
// Dormant until SMTP is configured (the command no-ops on the "log" mailer)
// and a `php artisan schedule:run` cron is added on the server.
Schedule::command('courses:nudge-stalled')->dailyAt('09:00');
