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

Method CommandOutput

pkg/cmd/extension/git.go:32–38  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

30}
31
32func (g *gitExecuter) CommandOutput(args []string) ([]byte, error) {
33 cmd, err := g.client.Command(context.Background(), args...)
34 if err != nil {
35 return nil, err
36 }
37 return cmd.Output()
38}
39
40func (g *gitExecuter) Config(name string) (string, error) {
41 return g.client.Config(context.Background(), name)

Callers

nothing calls this directly

Calls 2

CommandMethod · 0.80
OutputMethod · 0.65

Tested by

no test coverage detected