cli/command/*: remove deprecated cobra command constructors
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -15,13 +15,7 @@ type waitOptions struct {
|
||||
containers []string
|
||||
}
|
||||
|
||||
// NewWaitCommand creates a new cobra.Command for `docker wait`
|
||||
//
|
||||
// Deprecated: Do not import commands directly. They will be removed in a future release.
|
||||
func NewWaitCommand(dockerCLI command.Cli) *cobra.Command {
|
||||
return newWaitCommand(dockerCLI)
|
||||
}
|
||||
|
||||
// newWaitCommand creates a new cobra.Command for "docker container wait".
|
||||
func newWaitCommand(dockerCLI command.Cli) *cobra.Command {
|
||||
var opts waitOptions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user