168b51d402
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
22 lines
376 B
Go
22 lines
376 B
Go
package main
|
|
|
|
import "github.com/codegangsta/cli"
|
|
|
|
var (
|
|
commandPull = cli.Command{
|
|
Name: "pull",
|
|
Usage: "Pull and verify an image from a registry",
|
|
Action: imagePull,
|
|
Flags: []cli.Flag{
|
|
cli.StringFlag{
|
|
Name: "r,registry",
|
|
Value: "hub.docker.io",
|
|
Usage: "Registry to use (e.g.: localhost:5000)",
|
|
},
|
|
},
|
|
}
|
|
)
|
|
|
|
func imagePull(c *cli.Context) {
|
|
}
|