Files
k3k/cli/main.go
Brian Downs b2e969f6df update package refs
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2023-06-13 16:45:46 -07:00

24 lines
437 B
Go

package main
import (
"os"
"github.com/rancher/k3k/cli/cmds"
"github.com/rancher/k3k/cli/cmds/cluster"
"github.com/rancher/k3k/pkg/version"
"github.com/sirupsen/logrus"
"github.com/urfave/cli"
)
func main() {
app := cmds.NewApp()
app.Commands = []cli.Command{
cluster.NewClusterCommand(),
}
app.Version = version.Version + " (" + version.GitCommit + ")"
if err := app.Run(os.Args); err != nil {
logrus.Fatal(err)
}
}