24 lines
323 B
Go
24 lines
323 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
|
||
|
"github.com/Sirupsen/logrus"
|
||
|
"github.com/urfave/cli"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
app := cli.NewApp()
|
||
|
app.Name = "kpod"
|
||
|
app.Usage = "manage pods and images"
|
||
|
app.Version = "0.0.1"
|
||
|
|
||
|
app.Commands = []cli.Command{
|
||
|
launchCommand,
|
||
|
}
|
||
|
|
||
|
if err := app.Run(os.Args); err != nil {
|
||
|
logrus.Fatal(err)
|
||
|
}
|
||
|
}
|