pub fn read_stdin() -> Result<String, AppError>Expand description
Reads stdin to a String with the configured deadline.
Resolves the timeout from XDG cli.stdin_timeout_secs, falling back to
crate::constants::DEFAULT_STDIN_READ_TIMEOUT_SECS. Prefer this over
read_stdin_with_timeout at call sites that have no reason to pick a
different budget.
§Errors
Same as read_stdin_with_timeout.