github.com/docker/app@v0.9.1-beta3.0.20210611140623-a48f773ab002/internal/commands/image/command.go (about) 1 package image 2 3 import ( 4 "github.com/docker/app/internal/cliopts" 5 "github.com/docker/cli/cli/command" 6 "github.com/spf13/cobra" 7 ) 8 9 // Cmd is the image top level command 10 func Cmd(dockerCli command.Cli, installerContext *cliopts.InstallerContextOptions) *cobra.Command { 11 cmd := &cobra.Command{ 12 Short: "Manage App images", 13 Use: "image", 14 } 15 16 cmd.AddCommand( 17 listCmd(dockerCli), 18 rmCmd(), 19 tagCmd(), 20 inspectCmd(dockerCli, installerContext), 21 renderCmd(dockerCli, installerContext), 22 ) 23 24 return cmd 25 }