Documentation
¶
Overview ¶
Package termout prints user-facing CLI output. Symbols and emojis are kept on an interactive terminal and replaced by plain ASCII markers (or dropped when purely decorative) when stdout is a pipe or NO_COLOR / CI is set, so CI consoles and log files stay readable.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Plain = func() bool { if os.Getenv("NO_COLOR") != "" || os.Getenv("CI") != "" { return true } info, err := os.Stdout.Stat() return err != nil || info.Mode()&os.ModeCharDevice == 0 }
Plain reports whether output must avoid symbols.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.