CompletionWithDesc returns a [Completion] with a description by using the TAB delimited format.
(choice string, description string)
| 140 | |
| 141 | // CompletionWithDesc returns a [Completion] with a description by using the TAB delimited format. |
| 142 | func CompletionWithDesc(choice string, description string) Completion { |
| 143 | return choice + "\t" + description |
| 144 | } |
| 145 | |
| 146 | // NoFileCompletions can be used to disable file completion for commands that should |
| 147 | // not trigger file completions. |
no outgoing calls