Make a debug message while doing the completion. These end up in the file specified by BASH_COMP_DEBUG_FILE
(format string, a ...any)
| 18 | // |
| 19 | // These end up in the file specified by BASH_COMP_DEBUG_FILE |
| 20 | func compLogf(format string, a ...any) { |
| 21 | cobra.CompDebugln(fmt.Sprintf(format, a...), true) |
| 22 | } |
| 23 | |
| 24 | // Add remotes to the completions being built up |
| 25 | func addRemotes(toComplete string, completions []string) []string { |
no outgoing calls
no test coverage detected
searching dependent graphs…