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

21 lines
399 B
Go

package console
import (
"github.com/spf13/cobra"
)
var (
powerCmd = &cobra.Command{
Use: "console [flags] [node pattern]",
Short: "Connect to IPMI console",
Long: "Start IPMI console for a singe node.",
Args: cobra.MinimumNArgs(1),
RunE: CobraRunE,
}
)
// GetRootCommand returns the root cobra.Command for the application.
func GetCommand() *cobra.Command {
return powerCmd
}