Files
truecharts/clustertool/cmd/adv_bootstrap.go
T
2024-10-25 18:29:29 +02:00

29 lines
523 B
Go

package cmd
import (
"strings"
"github.com/spf13/cobra"
"github.com/truecharts/public/clustertool/pkg/gencmd"
)
var advBootstrapLongHelp = strings.TrimSpace(`
`)
var bootstrap = &cobra.Command{
Use: "bootstrap",
Short: "bootstrap first Talos Node",
Example: "clustertool adv bootstrap",
Long: advBootstrapLongHelp,
Run: bootstrapfunc,
}
func bootstrapfunc(cmd *cobra.Command, args []string) {
gencmd.RunBootstrap(args)
}
func init() {
adv.AddCommand(bootstrap)
}