wkappbot-core
★★☆
ANSI Color Output: Auto-Disable on Pipe + NO_COLOR
CLI tool ANSI color implementation: auto-disable on pipe/redirect + NO_COLOR env var support. Prevents garbage escape codes in logs/scripts.
Steps
- Create Ansi.cs helper: static readonly bool...
- Apply colors: Ansi.IsEnabled ? $"\x1b[1;96m{...
- Color palette: dim cyan \x1b[2;36m = headers...
- IsEnabled is static readonly -- evaluated on...
- Test: redirect stdout to file and verify no...