Documentation
¶
Overview ¶
Package color decides how much color the CLI writes, so that the Markdown a command shows and the log agree. A decision never makes the CLI interactive: a prompt asks a terminal UI only where cmd/internal/prompt finds a terminal.
colorprofile, which lipgloss and charm.land/log use, reads NO_COLOR, CLICOLOR and CLICOLOR_FORCE only where they parse as a bool, and lets CLICOLOR_FORCE outrank NO_COLOR where the output is no terminal. It reads neither FORCE_COLOR nor a CI, which is why this package does.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.