fabro/lib/crates/fabro-cli
Bryan Helmkamp 015efba19b Fix cli-table ignoring NO_COLOR environment variable
cli-table defaults to ColorChoice::Always, emitting ANSI escape codes
regardless of NO_COLOR. Fix all 5 call sites to:

1. Pass use_color to title cell .bold() instead of hardcoding true
2. Set .color_choice(Never) when colors are disabled
3. Use .display() instead of the free print_stdout/print_stderr
   functions (which re-wrap with Always defaults)

Affected commands: model list, model test, ps list, system df, rewind.
The model test snapshots are now clean plaintext.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 11:40:31 -04:00
..
src Fix cli-table ignoring NO_COLOR environment variable 2026-03-30 11:40:31 -04:00
tests/it Fix cli-table ignoring NO_COLOR environment variable 2026-03-30 11:40:31 -04:00
build.rs Move git SHA/build date from fabro-util to fabro-cli build.rs 2026-03-13 15:03:12 -04:00
Cargo.toml Replace trycmd tests with fabro-test crate and insta snapshots 2026-03-30 11:28:41 -04:00