cli/command/*: remove deprecated cobra command constructors

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-08-21 11:12:28 +02:00
parent 942a6c4c76
commit 873609d790
61 changed files with 40 additions and 436 deletions

View File

@ -11,13 +11,6 @@ func init() {
commands.Register(newPluginCommand)
}
// NewPluginCommand returns a cobra command for `plugin` subcommands
//
// Deprecated: Do not import commands directly. They will be removed in a future release.
func NewPluginCommand(dockerCLI command.Cli) *cobra.Command {
return newPluginCommand(dockerCLI)
}
// newPluginCommand returns a cobra command for `plugin` subcommands
func newPluginCommand(dockerCLI command.Cli) *cobra.Command {
cmd := &cobra.Command{