mirror of
https://github.com/rancher/rke.git
synced 2025-04-28 03:31:24 +00:00
24 lines
332 B
Go
24 lines
332 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
|
||
|
"github.com/Sirupsen/logrus"
|
||
|
"github.com/urfave/cli"
|
||
|
)
|
||
|
|
||
|
var VERSION = "v0.0.0-dev"
|
||
|
|
||
|
func main() {
|
||
|
app := cli.NewApp()
|
||
|
app.Name = "rke"
|
||
|
app.Version = VERSION
|
||
|
app.Usage = "You need help!"
|
||
|
app.Action = func(c *cli.Context) error {
|
||
|
logrus.Info("I'm a turkey")
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
app.Run(os.Args)
|
||
|
}
|