github.com/lusis/distribution@v2.0.1+incompatible/cmd/dist/pull.go (about)

     1  package main
     2  
     3  import "github.com/codegangsta/cli"
     4  
     5  var (
     6  	commandPull = cli.Command{
     7  		Name:   "pull",
     8  		Usage:  "Pull and verify an image from a registry",
     9  		Action: imagePull,
    10  		Flags: []cli.Flag{
    11  			cli.StringFlag{
    12  				Name:  "r,registry",
    13  				Value: "hub.docker.io",
    14  				Usage: "Registry to use (e.g.: localhost:5000)",
    15  			},
    16  		},
    17  	}
    18  )
    19  
    20  func imagePull(c *cli.Context) {
    21  }