MCPcopy Create free account
hub / github.com/containerd/nerdctl / runShellComplete

Function runShellComplete

cmd/nerdctl/container/container_run.go:538–543  ·  view source on GitHub ↗
(cmd *cobra.Command, args []string, toComplete string)

Source from the content-addressed store, hash-verified

536}
537
538func runShellComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
539 if len(args) == 0 {
540 return completion.ImageNames(cmd)
541 }
542 return nil, cobra.ShellCompDirectiveNoFileComp
543}

Callers

nothing calls this directly

Calls 1

ImageNamesFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…