Files
warewulf/internal/app/wwctl/node/powerstatus/root.go
2020-11-19 17:51:57 -06:00

20 lines
331 B
Go

package powerstatus
import (
"github.com/spf13/cobra"
)
var (
powerCmd = &cobra.Command{
Use: "powerstatus",
Short: "node power status",
Long: "Get Node Power Status",
RunE: CobraRunE,
}
)
// GetRootCommand returns the root cobra.Command for the application.
func GetCommand() *cobra.Command {
return powerCmd
}