Introduce FixedCompletions (#1574)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Example usage: choices := []string{"choice1", "choice2", "choice3"} cmd.RegisterFlagCompletionFunc(cobra.FixedCompletions(choices, ShellCompDirectiveNoFileComp))
authored by Simon Ser · committed by GitHub · parent 94e552d · Browse files · 2 files+35 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+35 added−0 removed
- other:+35 added−0 removed