add profile edit (copy&paste) from node edit
This commit is contained in:
@@ -3,6 +3,7 @@ package profile
|
||||
import (
|
||||
"github.com/hpcng/warewulf/internal/app/wwctl/profile/add"
|
||||
"github.com/hpcng/warewulf/internal/app/wwctl/profile/delete"
|
||||
"github.com/hpcng/warewulf/internal/app/wwctl/profile/edit"
|
||||
"github.com/hpcng/warewulf/internal/app/wwctl/profile/list"
|
||||
"github.com/hpcng/warewulf/internal/app/wwctl/profile/set"
|
||||
"github.com/spf13/cobra"
|
||||
@@ -11,9 +12,9 @@ import (
|
||||
var (
|
||||
baseCmd = &cobra.Command{
|
||||
DisableFlagsInUseLine: true,
|
||||
Use: "profile COMMAND [OPTIONS]",
|
||||
Short: "Node configuration profile management",
|
||||
Long: "Management of node profile settings",
|
||||
Use: "profile COMMAND [OPTIONS]",
|
||||
Short: "Node configuration profile management",
|
||||
Long: "Management of node profile settings",
|
||||
}
|
||||
)
|
||||
|
||||
@@ -22,6 +23,7 @@ func init() {
|
||||
baseCmd.AddCommand(set.GetCommand())
|
||||
baseCmd.AddCommand(add.GetCommand())
|
||||
baseCmd.AddCommand(delete.GetCommand())
|
||||
baseCmd.AddCommand(edit.GetCommand())
|
||||
}
|
||||
|
||||
// GetRootCommand returns the root cobra.Command for the application.
|
||||
|
||||
Reference in New Issue
Block a user