generate reference documentation

Signed-off-by: Christian Goll <cgoll@suse.de>
This commit is contained in:
Christian Goll
2023-03-02 12:18:59 +01:00
parent 94866656a4
commit 786ccdb1e1
7 changed files with 55 additions and 2 deletions

View File

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