Add todo to bash completions

This commit is contained in:
Evan Fiordeliso 2023-11-13 15:24:18 -05:00
parent 5979ea58a2
commit 1ee91301f4
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ func WriteBashCompletions(out io.Writer, rootCmd *Command) error {
}
// TODO: Add --option|--other-option...) to return nothing for options that require a value
// TODO: Add descriptions to completions using https://stackoverflow.com/a/10130007
var bashTpl = template.Must(template.New("bash").Funcs(tplFuncs).Parse(`
{{- $rootCmd := .RootCmd -}}
{{- $progName := $rootCmd.Name -}}