MCPcopy Index your code
hub / github.com/google/go-github / run

Function run

tools/metadata/main.go:185–196  ·  view source on GitHub ↗
(args []string, opts []kong.Option)

Source from the content-addressed store, hash-verified

183}
184
185func run(args []string, opts []kong.Option) error {
186 var cmd rootCmd
187 parser, err := kong.New(&cmd, append(opts, helpVars)...)
188 if err != nil {
189 return err
190 }
191 k, err := parser.Parse(args)
192 if err != nil {
193 return err
194 }
195 return k.Run()
196}

Callers 2

runTestFunction · 0.70
mainFunction · 0.70

Calls 1

RunMethod · 0.45

Tested by 1

runTestFunction · 0.56