(stdout io.Writer)
| 77 | } |
| 78 | |
| 79 | func WithStdout(stdout io.Writer) CommandModifier { |
| 80 | return func(gc *Command) { |
| 81 | gc.Stdout = stdout |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | func WithStdin(stdin io.Reader) CommandModifier { |
| 86 | return func(gc *Command) { |
nothing calls this directly
no outgoing calls
no test coverage detected