Stdin creates a pipe that reads from [os.Stdin].
()
| 195 | |
| 196 | // Stdin creates a pipe that reads from [os.Stdin]. |
| 197 | func Stdin() *Pipe { |
| 198 | return NewPipe().WithReader(os.Stdin) |
| 199 | } |
| 200 | |
| 201 | // AppendFile appends the contents of the pipe to the file path, creating it if |
| 202 | // necessary, and returns the number of bytes successfully written, or an |