Files
warewulf/internal/app/wwctl/power/soft/root.go
2021-08-25 08:38:16 -04:00

20 lines
384 B
Go

package powersoft
import (
"github.com/spf13/cobra"
)
var (
powerCmd = &cobra.Command{
Use: "soft",
Short: "Gracefully shuts down the given node(s)",
Long: "This command will gracefully shutdown the given set of nodes.",
RunE: CobraRunE,
}
)
// GetRootCommand returns the root cobra.Command for the application.
func GetCommand() *cobra.Command {
return powerCmd
}