Remove dist tool from distribution
We are headed in a different direction. The dist tool analog will not be a part of this repository. Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
ec77b836dd
commit
bc5835ba2d
7 changed files with 1 additions and 84 deletions
14
cmd/dist/list.go
vendored
14
cmd/dist/list.go
vendored
|
@ -1,14 +0,0 @@
|
|||
package main
|
||||
|
||||
import "github.com/codegangsta/cli"
|
||||
|
||||
var (
|
||||
commandList = cli.Command{
|
||||
Name: "images",
|
||||
Usage: "List available images",
|
||||
Action: imageList,
|
||||
}
|
||||
)
|
||||
|
||||
func imageList(c *cli.Context) {
|
||||
}
|
21
cmd/dist/main.go
vendored
21
cmd/dist/main.go
vendored
|
@ -1,21 +0,0 @@
|
|||
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)
|
||||
}
|
21
cmd/dist/pull.go
vendored
21
cmd/dist/pull.go
vendored
|
@ -1,21 +0,0 @@
|
|||
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) {
|
||||
}
|
21
cmd/dist/push.go
vendored
21
cmd/dist/push.go
vendored
|
@ -1,21 +0,0 @@
|
|||
package main
|
||||
|
||||
import "github.com/codegangsta/cli"
|
||||
|
||||
var (
|
||||
commandPush = cli.Command{
|
||||
Name: "push",
|
||||
Usage: "Push an image to a registry",
|
||||
Action: imagePush,
|
||||
Flags: []cli.Flag{
|
||||
cli.StringFlag{
|
||||
Name: "r,registry",
|
||||
Value: "hub.docker.io",
|
||||
Usage: "Registry to use (e.g.: localhost:5000)",
|
||||
},
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
func imagePush(*cli.Context) {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue