{"modulePath":"github.com/xpippi/docker-cli","version":"v23.0.3+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package completion\n\n## Functions\n\n```go\nfunc NoComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)\n```\nNoComplete is used for commands where there's no relevant completion\n\n## Types\n\n```go\ntype ValidArgsFn func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)\n```\nValidArgsFn a function to be used by cobra command as \\`ValidArgsFunction\\` to offer command line completion\n\n```go\nfunc ContainerNames(dockerCli command.Cli, all bool, filters ...func(types.Container) bool) ValidArgsFn\n```\nContainerNames offers completion for container names and IDs By default, only names are returned. Set DOCKER\\_COMPLETION\\_SHOW\\_CONTAINER\\_IDS=yes to also complete IDs.\n\n```go\nfunc ImageNames(dockerCli command.Cli) ValidArgsFn\n```\nImageNames offers completion for images present within the local store\n\n```go\nfunc NetworkNames(dockerCli command.Cli) ValidArgsFn\n```\nNetworkNames offers completion for networks\n\n```go\nfunc VolumeNames(dockerCli command.Cli) ValidArgsFn\n```\nVolumeNames offers completion for volumes\n\n","path":"github.com/xpippi/docker-cli/cli/command/completion","name":"completion","synopsis":"","isRedistributable":true}
