moved print_defaults to wwctl genconfig defaults

Signed-off-by: Christian Goll <cgoll@suse.de>
This commit is contained in:
Christian Goll
2023-03-02 15:23:46 +01:00
parent 786ccdb1e1
commit 61960b6c8c
5 changed files with 40 additions and 25 deletions

View File

@@ -2,6 +2,7 @@ package genconf
import (
"github.com/hpcng/warewulf/internal/app/wwctl/genconf/completions"
"github.com/hpcng/warewulf/internal/app/wwctl/genconf/dfaults"
"github.com/hpcng/warewulf/internal/app/wwctl/genconf/man"
"github.com/hpcng/warewulf/internal/app/wwctl/genconf/reference"
"github.com/spf13/cobra"
@@ -23,6 +24,7 @@ func init() {
baseCmd.AddCommand(completions.GetCommand())
baseCmd.AddCommand(man.GetCommand())
baseCmd.AddCommand(reference.GetCommand())
baseCmd.AddCommand(dfaults.GetCommand())
}
// GetRootCommand returns the root cobra.Command for the application.