Files
warewulf/internal/app/wwctl/kernel/delete/root.go
2021-04-07 15:23:37 -07:00

23 lines
450 B
Go

package delete
import "github.com/spf13/cobra"
var (
baseCmd = &cobra.Command{
Use: "delete [flags] [kernel version]...",
Short: "Delete an imported kernel",
Long: "This command will delete a kernel that has been imported into Warewulf.",
RunE: CobraRunE,
Args: cobra.MinimumNArgs(1),
}
)
func init() {
}
// GetRootCommand returns the root cobra.Command for the application.
func GetCommand() *cobra.Command {
return baseCmd
}