Files
warewulf/internal/app/wwctl/power/off/root.go
2021-01-14 20:23:42 -08:00

20 lines
370 B
Go

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