Behavior rules for CLIs and TUIs: exit codes, stdout vs stderr, TTY detection, NO_COLOR, progress output, help conventions, destructive-action confirmation, signal and panic/crash recovery, screen-reader concerns. Use when writing or reviewing a CLI, TUI, argument parsing, prompts, or terminal color
Behavior rules for CLIs and TUIs: exit codes, stdout vs stderr, TTY detection, NO_COLOR, progress output, help conventions, destructive-action confirmation, signal and panic/crash recovery, screen-reader concerns. Use when writing or reviewing a CLI, TUI, argument parsing, prompts, or terminal color handling.