FileNames is a convenience function to use [cobra.ShellCompDirectiveDefault], which indicates to let the shell perform its default behavior after completions have been provided.
()
| 176 | // which indicates to let the shell perform its default behavior after |
| 177 | // completions have been provided. |
| 178 | func FileNames() cobra.CompletionFunc { |
| 179 | return func(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective) { |
| 180 | return nil, cobra.ShellCompDirectiveDefault |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | var commonPlatforms = []string{ |
| 185 | "linux/386", |
no outgoing calls
searching dependent graphs…