pub fn read_stdin() -> Result<String>
Read all of stdin into a string. Returns an error if stdin is a terminal (not piped).