Basic skeleton for dist
binary
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
This commit is contained in:
21
cmd/dist/main.go
vendored
Normal file
21
cmd/dist/main.go
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
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)
|
||||
}
|
Reference in New Issue
Block a user