cli/command/completion: remove deprecated ValidArgsFn
This was deprecated in9f19820f88, which is part of v28.x, and unlikely used externally. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit5052a39915) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -13,11 +13,6 @@ import (
|
||||
"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
|
||||
// it if needed.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user