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:
Paweł Gronowski 2025-08-14 10:51:34 +02:00 committed by GitHub
commit 3598fc3745
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

@ -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.
// //