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

20 lines
354 B
Go

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