Skip to main content

Module progress

Module progress 

Source
Expand description

Progress reporting utilities for user-facing output.

This module provides helper functions for displaying progress and status during command execution. It uses colors and symbols to create clear, scannable output similar to tools like dbt.

Functions§

action
Print a cargo-style action line: a 12-column right-aligned bold-green verb followed by message.
error
Print an error message with red X symbol.
finished
Print a cargo-style “Finished” line for action_name after duration.
stage_start
Print a stage start message with yellow arrow.
stage_success
Print a stage completion message with green checkmark and duration.
success
Print a success message with green checkmark.
warn
Print a warning message with yellow exclamation symbol.