MCPcopy Create free account
hub / github.com/cli/cli / WithStdout

Function WithStdout

git/command.go:79–83  ·  view source on GitHub ↗
(stdout io.Writer)

Source from the content-addressed store, hash-verified

77}
78
79func WithStdout(stdout io.Writer) CommandModifier {
80 return func(gc *Command) {
81 gc.Stdout = stdout
82 }
83}
84
85func WithStdin(stdin io.Reader) CommandModifier {
86 return func(gc *Command) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected