Files
docker-cli/cli/command/container
Sebastiaan van Stijn d18af47d0f cli/command/completion: change EnvVarNames to return a cobra.CompletionFunc
It's adding a slight indirection by constructing a function when called,
but makes the completion functions more consistent, the signature easier
to read, and making the return type a [cobra.CompletionFunc] makes it
more transparent what it's intended for, and helps discovery of functions
that provide completion.

[cobra.CompletionFunc]: https://pkg.go.dev/github.com/spf13/cobra#CompletionFunc

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-09-10 12:06:39 +02:00
..
2025-08-19 11:12:19 +02:00
2025-08-19 11:12:19 +02:00
2025-08-19 11:12:19 +02:00
2025-08-19 11:12:19 +02:00
2025-08-19 11:12:19 +02:00
2025-08-19 11:12:19 +02:00
2023-05-05 18:23:03 +02:00
2021-05-24 19:37:53 +01:00