MCPcopy
hub / github.com/cli/cli / commandStub

Struct commandStub

internal/run/stub.go:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99type CommandCallback func([]string)
100
101type commandStub struct {
102 pattern *regexp.Regexp
103 matched bool
104 exitStatus int
105 stdout string
106 callbacks []CommandCallback
107}
108
109type errWithExitCode struct {
110 message string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected