MCPcopy Index your code
hub / github.com/ddev/ddev / CmdOption

FuncType CmdOption

pkg/exec/exec.go:19–19  ·  view source on GitHub ↗

CmdOption is a function type for configuring exec.Cmd

func(*exec.Cmd)

Source from the content-addressed store, hash-verified

17
18// CmdOption is a function type for configuring exec.Cmd
19type CmdOption func(*exec.Cmd)
20
21// WithStdin sets the stdin for the host command
22func WithStdin(stdin io.Reader) CmdOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected