Expand description
Terminal UI utilities — progress bars, boxed output, and status messages.
All functions in this module write directly to stdout. They are intentionally
thin wrappers around colored and indicatif so the rest of the codebase
does not need to import those crates directly.
§Future work
- Respect a global
--no-colorflag by checkingcolored::control::SHOULD_COLORIZE. - Add a
spinner()helper for indeterminate operations. - Add a
table()helper for structured multi-column output.
Functions§
- error
- Print a red
✗ <message>error line. - info
- Print a cyan
ℹ️ <message>info line. - print_
box - Print a cyan boxed header with an optional multi-line body.
- progress_
bar - Create a styled progress bar with
lensteps and an initialmessage. - separator
- Print a dimmed horizontal rule (60 dashes).
- success
- Print a green
✓ <message>success line. - warning
- Print a yellow
⚠️ <message>warning line.