(prefix string)
| 177 | type PathWithBool string |
| 178 | |
| 179 | func (PathWithBool) Complete(prefix string) []flags.Completion { |
| 180 | return append( |
| 181 | completions([]string{"true", "false"}, prefix, false), |
| 182 | completeWithTilde(prefix)..., |
| 183 | ) |
| 184 | } |
| 185 | |
| 186 | func findMatches(pattern string, formatMatch func(string) string) []flags.Completion { |
| 187 | paths, err := filepath.Glob(pattern) |
nothing calls this directly
no test coverage detected