commands: imagetools stubs

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2019-04-16 12:01:10 -07:00
parent b6de0fa0ff
commit a0719aee88
4 changed files with 100 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import (
"github.com/docker/cli/cli-plugins/plugin"
"github.com/docker/cli/cli/command"
"github.com/spf13/cobra"
imagetoolscmd "github.com/tonistiigi/buildx/commands/imagetools"
)
func NewRootCmd(name string, isPlugin bool, dockerCli command.Cli) *cobra.Command {
@ -31,5 +32,6 @@ func addCommands(cmd *cobra.Command, dockerCli command.Cli) {
useCmd(dockerCli),
inspectCmd(dockerCli),
stopCmd(dockerCli),
imagetoolscmd.RootCmd(dockerCli),
)
}