b84f064976
Add one or more tags to an image Signed-off-by: Ryan Cole <rcyoalne@gmail.com>
28 lines
405 B
Go
28 lines
405 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/Sirupsen/logrus"
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
//Version of kpod
|
|
const Version string = "0.0.1"
|
|
|
|
func main() {
|
|
app := cli.NewApp()
|
|
app.Name = "kpod"
|
|
app.Usage = "manage pods and images"
|
|
app.Version = Version
|
|
|
|
app.Commands = []cli.Command{
|
|
launchCommand,
|
|
tagCommand,
|
|
versionCommand,
|
|
}
|
|
|
|
if err := app.Run(os.Args); err != nil {
|
|
logrus.Fatal(err)
|
|
}
|
|
}
|