1 Star 0 Fork 0

Johnwu/rke2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 421 Bytes
一键复制 编辑 原始数据 按行查看 历史
Brian Downs 提交于 2021-04-06 15:37 . add etcd-snapshot subcommand
package main
import (
"os"
"github.com/rancher/k3s/pkg/configfilearg"
"github.com/rancher/rke2/pkg/cli/cmds"
"github.com/sirupsen/logrus"
"github.com/urfave/cli"
)
func main() {
app := cmds.NewApp()
app.Commands = []cli.Command{
cmds.NewServerCommand(),
cmds.NewAgentCommand(),
cmds.NewEtcdSnapshotCommand(),
}
if err := app.Run(configfilearg.MustParse(os.Args)); err != nil {
logrus.Fatal(err)
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/johnwu/rke2.git
git@gitee.com:johnwu/rke2.git
johnwu
rke2
rke2
master

搜索帮助