Added delete CLI templates to node and group

This commit is contained in:
Gregory Kurtzer
2020-11-21 01:55:43 -08:00
parent 1d1a02b305
commit 8453aecc9d
6 changed files with 70 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ package group
import (
"github.com/hpcng/warewulf/internal/app/wwctl/group/add"
"github.com/hpcng/warewulf/internal/app/wwctl/group/delete"
"github.com/hpcng/warewulf/internal/app/wwctl/group/list"
"github.com/hpcng/warewulf/internal/app/wwctl/group/set"
"github.com/spf13/cobra"
@@ -19,6 +20,7 @@ func init() {
baseCmd.AddCommand(list.GetCommand())
baseCmd.AddCommand(set.GetCommand())
baseCmd.AddCommand(add.GetCommand())
baseCmd.AddCommand(delete.GetCommand())
}
// GetRootCommand returns the root cobra.Command for the application.