progress_panel
¶
CompletedStep(timing_ms, message, paths)
dataclass
¶
ProgressPanel(quiet=False)
¶
Bases: Live
Live-updating terminal panel showing CV generation progress with timing.
Example
Parameters:
-
quiet(bool, default:False) –Suppress all terminal output.
Source code in src/rendercv/cli/render_command/progress_panel.py
completed_steps = []
instance-attribute
¶
quiet = quiet
instance-attribute
¶
clear()
¶
finish_progress()
¶
print_progress_panel(title)
¶
Render progress panel with all completed steps.
Parameters:
-
title(str) –Panel title text.
Source code in src/rendercv/cli/render_command/progress_panel.py
print_user_error(user_error)
¶
Display error panel and exit with error code.
Parameters:
-
user_error(RenderCVUserError) –User-facing error to display.
Source code in src/rendercv/cli/render_command/progress_panel.py
print_validation_errors(errors)
¶
Display validation errors in table format and exit.
Why
Pydantic validation errors are parsed into user-friendly messages with YAML locations. Table shows exactly which field failed and why.
Parameters:
-
errors(list[RenderCVValidationError]) –List of validation errors with location, input, and message.
Source code in src/rendercv/cli/render_command/progress_panel.py
update_progress(time_took, message, paths)
¶
Add completed step to progress display.
Parameters:
-
time_took(str) –Execution time in milliseconds as string.
-
message(str) –Step description.
-
paths(list[Path]) –Generated file paths to display.