UI Updates with a few minor fixups scattered here and there
This commit is contained in:
19
internal/app/wwctl/power/status/root.go
Normal file
19
internal/app/wwctl/power/status/root.go
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user