Skip to content

Commit 38045e5

Browse files
docs: make generate
1 parent e905d7a commit 38045e5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

godoc-current.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ type Command struct {
433433
ShellCompletionCommandName string `json:"-"`
434434
// The function to call when checking for shell command completions
435435
ShellComplete ShellCompleteFunc `json:"-"`
436+
// The function to configure a shell completion command
437+
ConfigureShellCompletionCommand ConfigureShellCompletionCommand `json:"-"`
436438
// An action to execute before any subcommands are run, but after the context is ready
437439
// If a non-nil error is returned, no subcommands are run
438440
Before BeforeFunc `json:"-"`
@@ -751,6 +753,10 @@ type CommandCategory interface {
751753
type CommandNotFoundFunc func(context.Context, *Command, string)
752754
CommandNotFoundFunc is executed if the proper command cannot be found
753755

756+
type ConfigureShellCompletionCommand func(*Command)
757+
ConfigureShellCompletionCommand is a function to configure a shell
758+
completion command
759+
754760
type Countable interface {
755761
Count() int
756762
}

0 commit comments

Comments
 (0)