<?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');

// Retention purge for high-volume public logs (FR/NFR: 12-month retention).
// Runs via cPanel Cron Job hitting `php artisan schedule:run` every minute.
Schedule::command('pilkades:purge-visitor-logs')->monthly();
Schedule::command('pilkades:purge-voter-search-logs')->monthly();
