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

Function DefaultRootCommandComplete

help.go:180–182  ·  view source on GitHub ↗

DefaultRootCommandComplete prints the list of subcommands as the default completion method.

(ctx context.Context, cmd *Command)

Source from the content-addressed store, hash-verified

178
179// DefaultRootCommandComplete prints the list of subcommands as the default completion method.
180func DefaultRootCommandComplete(ctx context.Context, cmd *Command) {
181 DefaultCompleteWithFlags(ctx, cmd)
182}
183
184// DefaultAppComplete is a backward-compatible name for DefaultRootCommandComplete.
185var DefaultAppComplete = DefaultRootCommandComplete

Callers

nothing calls this directly

Calls 1

DefaultCompleteWithFlagsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…