Versions in this module Expand all Collapse all v0 v0.1.1 May 25, 2025 Changes in this version + type Display interface + Close func() error + Finish func(success bool, summary string) error + Init func(ctx context.Context) error + ShowError func(stepID string, err error) error + ShowOutput func(stepID string, output string) error + Start func(plan *config.ExecutionPlan) error + UpdateProgress func(progress *ExecutionProgress) error + UpdateStep func(stepID string, status StepStatus, message string) error + func NewDisplay(mode DisplayMode, verbose bool) Display + type DisplayMode string + const ModeInteractive + const ModeJSON + const ModeSimple + type ExecutionProgress struct + CompletedSteps int + CurrentActivity string + CurrentStep string + ElapsedTime time.Duration + Error error + EstimatedTime time.Duration + Plan *config.ExecutionPlan + StartTime time.Time + Steps []StepProgress + TotalSteps int + type FileProgress struct + Duration time.Duration + Error error + Output string + Path string + Status StepStatus + type ProgressTracker struct + func NewProgressTracker(plan *config.ExecutionPlan, state *core.ExecutionState, display Display) *ProgressTracker + func (pt *ProgressTracker) Finish(success bool) error + func (pt *ProgressTracker) Output(stepID string, output string) error + func (pt *ProgressTracker) SetState(state *core.ExecutionState) + func (pt *ProgressTracker) Start() error + func (pt *ProgressTracker) StepCompleted(stepID string, duration time.Duration) error + func (pt *ProgressTracker) StepFailed(stepID string, err error) error + func (pt *ProgressTracker) StepSkipped(stepID string, reason string) error + func (pt *ProgressTracker) StepStarted(stepID string) error + func (pt *ProgressTracker) Update() error + type StepProgress struct + Dependencies []string + Description string + Duration time.Duration + Error error + Files []FileProgress + ID string + StartTime *time.Time + Status StepStatus + type StepStatus string + const StatusCompleted + const StatusFailed + const StatusPending + const StatusRunning + const StatusSkipped + type TerminalDisplay struct + func NewTerminalDisplay(verbose bool) *TerminalDisplay + func (td *TerminalDisplay) Close() error + func (td *TerminalDisplay) Finish(success bool, summary string) error + func (td *TerminalDisplay) Init(ctx context.Context) error + func (td *TerminalDisplay) ShowError(stepID string, err error) error + func (td *TerminalDisplay) ShowOutput(stepID string, output string) error + func (td *TerminalDisplay) Start(plan *config.ExecutionPlan) error + func (td *TerminalDisplay) UpdateProgress(progress *ExecutionProgress) error + func (td *TerminalDisplay) UpdateStep(stepID string, status StepStatus, message string) error