Files
warewulf/internal/app/wwctl/genconf/warewulfconf/print/root.go
2026-03-18 16:58:39 -06:00

22 lines
514 B
Go

package print
import (
"github.com/spf13/cobra"
"github.com/warewulf/warewulf/internal/app/wwctl/completions"
)
var (
baseCmd = &cobra.Command{
Use: "print",
Short: "print warewulf.conf",
Long: "This command prints the actual used warewulf.conf, can be used to create an empty valid warewulf.conf",
RunE: CobraRunE,
Args: cobra.NoArgs,
ValidArgsFunction: completions.None,
}
)
func GetCommand() *cobra.Command {
return baseCmd
}