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

     1  package main
     2  
     3  import (
     4  	"os"
     5  
     6  	"github.com/codegangsta/cli"
     7  )
     8  
     9  func main() {
    10  	app := cli.NewApp()
    11  	app.Name = "dist"
    12  	app.Usage = "Package and ship Docker content"
    13  
    14  	app.Action = commandList.Action
    15  	app.Commands = []cli.Command{
    16  		commandList,
    17  		commandPull,
    18  		commandPush,
    19  	}
    20  	app.Run(os.Args)
    21  }