Skip to main content

Module output

Module output 

Source
Expand description

Output formatting for proc CLI

Provides colored terminal output and JSON formatting.

Structs§

Printer
Main printer for CLI output

Enums§

OutputFormat
Output format selection

Functions§

must_confirm
Whether a command that changes processes should ask before acting.
print_note
Print a note: line on stderr, for something the user should change that does not stop the command. It is for human output only: stdout and --json stay as they are. Coloured only when stderr is a terminal and NO_COLOR is not set.