Versions in this module Expand all Collapse all v0 v0.44.0 May 1, 2026 v0.30.1 Mar 23, 2026 Changes in this version + const ShellCompletionBehaviorDefault + const ShellCompletionBehaviorFile + const ShellCompletionBehaviorNoComplete + func ExecuteShellCompletion(ctx context.Context, cmd *cli.Command) error + func OutputCompletionScript(ctx context.Context, cmd *cli.Command) error + type CompletionResult struct + Behavior ShellCompletionBehavior + Completions []ShellCompletion + func GetCompletions(completionStyle CompletionStyle, root *cli.Command, args []string) CompletionResult + type CompletionStyle string + const CompletionStyleBash + const CompletionStyleFish + const CompletionStylePowershell + const CompletionStyleZsh + type ShellCompletion struct + Name string + Usage string + func NewShellCompletion(name string, usage string) ShellCompletion + type ShellCompletionBehavior int