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

20 lines
391 B
Go

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