MCPcopy
hub / github.com/urfave/cli / runCompletion

Function runCompletion

help.go:518–523  ·  help.go::runCompletion
(ctx context.Context, cmd *Command)

Source from the content-addressed store, hash-verified

516}
517
518func runCompletion(ctx context.Context, cmd *Command) {
519 if cmd.ShellComplete != nil {
520 tracef("running shell completion func for command %[1]q", cmd.Name)
521 cmd.ShellComplete(ctx, cmd)
522 }
523}
524
525func subtract(a, b int) int {
526 return a - b

Callers 1

runMethod · 0.85

Calls 1

tracefFunction · 0.85

Tested by

no test coverage detected