<?php

declare(strict_types=1);

namespace App\Framework\Console\Progress;

use Attribute;

/**
 * Attribute to mark commands as long-running and enable automatic progress tracking
 */
#[Attribute(Attribute::TARGET_METHOD)]
final readonly class LongRunning
{
    public function __construct(
        public ?int $estimatedSteps = null,
        public ProgressType $progressType = ProgressType::AUTO,
        public string $title = 'Processing'
    ) {
    }
}
