9595d7900e
Signed-off-by: umohnani8 <umohnani@redhat.com>
27 lines
391 B
Go
27 lines
391 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,
|
|
versionCommand,
|
|
}
|
|
|
|
if err := app.Run(os.Args); err != nil {
|
|
logrus.Fatal(err)
|
|
}
|
|
}
|