Krikri::Lint::Console
Byte-level mirror of upstream's ansiblelint/output.py console: the same ANSI constants, the same OSC 8 hyperlink shape, and the same "colored or plain" switch, so krikri-lint's output can be compared byte for byte with ansible-lint's.
Constants
BLUE = "\e[34m"
BOLD = "\e[1m"
DIM = "\e[2m"
GREEN = "\e[32m"
MAGENTA = "\e[35m"
RED = "\e[31m"
RESET = "\e[0m"
YELLOW = "\e[33m"
Class methods
Upstream's should_do_markup(): explicit environment first, then TERM heuristics, then isatty as the last resort.
Upstream's plain theme drops the escape codes and keeps the label only.