(cmd *cobra.Command, args []string, toComplete string)
| 178 | } |
| 179 | |
| 180 | func inspectShellComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { |
| 181 | // show container names |
| 182 | containers, _ := completion.ContainerNames(cmd, nil) |
| 183 | // show image names |
| 184 | images, _ := completion.ImageNames(cmd) |
| 185 | return append(containers, images...), cobra.ShellCompDirectiveNoFileComp |
| 186 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…