DefaultRootCommandComplete prints the list of subcommands as the default completion method.
(ctx context.Context, cmd *Command)
| 178 | |
| 179 | // DefaultRootCommandComplete prints the list of subcommands as the default completion method. |
| 180 | func DefaultRootCommandComplete(ctx context.Context, cmd *Command) { |
| 181 | DefaultCompleteWithFlags(ctx, cmd) |
| 182 | } |
| 183 | |
| 184 | // DefaultAppComplete is a backward-compatible name for DefaultRootCommandComplete. |
| 185 | var DefaultAppComplete = DefaultRootCommandComplete |
nothing calls this directly
no test coverage detected
searching dependent graphs…