registry/cmd/dist/main.go

22 lines
297 B
Go
Raw Normal View History

package main
import (
"os"
"github.com/codegangsta/cli"
)
func main() {
app := cli.NewApp()
app.Name = "dist"
app.Usage = "Package and ship Docker content"
app.Action = commandList.Action
app.Commands = []cli.Command{
commandList,
commandPull,
commandPush,
}
app.Run(os.Args)
}