Files
warewulf/internal/app/wwctl/genconf/warewulfconf/print/root.go
Christian Goll 32b4bb74cc added wwctl genconfig warewulfconf print
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-03 14:07:26 +01:00

23 lines
376 B
Go

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