mirror of https://github.com/docker/cli.git
Merge pull request #6259 from thaJeztah/28.x_backport_rm_completion
[28.x backport] cli/command/completion: remove deprecated ValidArgsFn
This commit is contained in:
commit
3598fc3745
|
|
@ -13,11 +13,6 @@ import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ValidArgsFn a function to be used by cobra command as `ValidArgsFunction` to offer command line completion.
|
|
||||||
//
|
|
||||||
// Deprecated: use [cobra.CompletionFunc].
|
|
||||||
type ValidArgsFn = cobra.CompletionFunc
|
|
||||||
|
|
||||||
// APIClientProvider provides a method to get an [client.APIClient], initializing
|
// APIClientProvider provides a method to get an [client.APIClient], initializing
|
||||||
// it if needed.
|
// it if needed.
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue