Files
warewulf/internal/app/wwctl/power/cycle/root.go
jcsiadal de2c882ba1 Replace HTML in help
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2021-10-28 17:48:16 -07:00

20 lines
400 B
Go

package powercycle
import (
"github.com/spf13/cobra"
)
var (
powerCmd = &cobra.Command{
Use: "cycle [flags] (node pattern)...",
Short: "Power cycle the given node(s)",
Long: "This command will cycle the power for a given set of nodes.",
RunE: CobraRunE,
}
)
// GetRootCommand returns the root cobra.Command for the application.
func GetCommand() *cobra.Command {
return powerCmd
}