Skip to main content

Module output

Module output 

Source
Expand description

Output utilities for consistent terminal formatting.

Functionsยง

error
Format an error message with red X.
header
Format a header with separator line.
info
Format an info message with blue info sign.
is_tty
Check if stdout is a TTY (terminal).
stderr_is_tty
Check if stderr is a TTY (terminal).
success
Format a success message with green checkmark.
warning
Format a warning message with yellow warning sign.