Skip to main content

Module output

Module output 

Source

Enums§

SelectError
Error type for interactive selection.

Functions§

color
Wrap text in ANSI color codes if use_color is true.
confirm
Prompt the user for a yes/no confirmation.
format_severity
Format a severity string with optional ANSI colors.
select_one
Prompt the user to select one option from a list using dialoguer.
stderr_is_tty
Check if stderr is a terminal (for progress output).
stdin_is_tty
Check if stdin is a terminal (for interactive prompts).
stdout_is_tty
Check if stdout is a terminal (for ANSI color output).