cri-o/cmd/kpod/main.go

29 lines
405 B
Go
Raw Normal View History

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)
}
}