(stderr io.Writer)
| 71 | type CommandModifier func(*Command) |
| 72 | |
| 73 | func WithStderr(stderr io.Writer) CommandModifier { |
| 74 | return func(gc *Command) { |
| 75 | gc.Stderr = stderr |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | func WithStdout(stdout io.Writer) CommandModifier { |
| 80 | return func(gc *Command) { |
no outgoing calls
no test coverage detected