Expand description
Injectable stream abstractions for the CLIs.
Only stdin needs TTY awareness (interactive prompts and pipe detection),
so output streams are plain std::io::Write trait objects.
Structs§
- Reader
Input - Wraps any reader with an explicit TTY flag. Useful for tests and for embedders that manage their own stdio.
- Stdin
Stream - The process stdin, with real TTY detection.
Traits§
- Input
Stream - A readable input stream that knows whether it is an interactive terminal.