<?php

namespace App\Console\Commands;

use App\Jobs\CleanupEvidenceFiles;
use Illuminate\Console\Command;

class CleanupEvidenceCommand extends Command
{
    protected $signature = 'evidence:cleanup';

    protected $description = 'Queue cleanup for expired digital-form evidence files.';

    public function handle(): int
    {
        CleanupEvidenceFiles::dispatch();
        $this->info('Evidence cleanup queued.');

        return self::SUCCESS;
    }
}
