MCPcopy
hub / github.com/docker/compose / noCompletion

Function noCompletion

cmd/compose/completion.go:33–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31type validArgsFn func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
32
33func noCompletion() validArgsFn {
34 return func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
35 return []string{}, cobra.ShellCompDirectiveNoSpace
36 }
37}
38
39func completeServiceNames(dockerCli command.Cli, p *ProjectOptions) validArgsFn {
40 return func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {

Callers 1

listCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected