package cmd
import (
-
cleancmds "ealt/cmd/clean"
"github.com/spf13/cobra"
)
var cleanCmd = &cobra.Command{
Use: "clean",
Short: "To uninstall ealt environment or specific component or node.",
- Long: `To uninstall ealt environment or specific component or node.`,
+ Long: `To uninstall ealt environment or specific component or node.`,
}
func init() {
cleanCmd.AddCommand(cleancmds.NewAllCommand())
- //ealt init infra
- cleanCmd.AddCommand(cleancmds.NewInfraCommand())
- //ealt init manager
- cleanCmd.AddCommand(cleancmds.NewMecmCommand())
+
//ealt init edge
cleanCmd.AddCommand(cleancmds.NewEdgeCommand())
- //ealt init k8s
- cleanCmd.AddCommand(cleancmds.NewK8SCommand())
- //ealt init k3s
- cleanCmd.AddCommand(cleancmds.NewK3SCommand())
//Add init subcommand to root command.
rootCmd.AddCommand(cleanCmd)
-}
\ No newline at end of file
+}