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

Method Output

internal/run/stub.go:136–141  ·  view source on GitHub ↗

Output satisfies Runnable

()

Source from the content-addressed store, hash-verified

134
135// Output satisfies Runnable
136func (s *commandStub) Output() ([]byte, error) {
137 if err := s.Run(); err != nil {
138 return []byte(nil), err
139 }
140 return []byte(s.stdout), nil
141}
142
143// Inject git authentication string for specific git commands.
144func addGitAuthentication(s string) string {

Callers

nothing calls this directly

Calls 1

RunMethod · 0.95

Tested by

no test coverage detected