Files
warewulf/internal/app/wwctl/genconf/warewulfconf/root.go
Jonathon Anderson a1832ad8c1 Complete transfer of Warewulf from HPCng
Warewulf is now being maintained in its own GitHub organization at
github.com/warewulf

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-26 21:35:04 -07:00

28 lines
587 B
Go

package warewulfconf
import (
"github.com/spf13/cobra"
"github.com/warewulf/warewulf/internal/app/wwctl/genconf/warewulfconf/print"
)
var (
baseCmd = &cobra.Command{
Use: "warewulfconf",
Short: "access warewulf.conf",
Long: "Commands for accessing the actual used warewulf.conf",
Args: cobra.ExactArgs(0),
Aliases: []string{"cnf"},
}
ListFull bool
WWctlRoot *cobra.Command
)
func init() {
baseCmd.AddCommand(print.GetCommand())
}
// GetRootCommand returns the root cobra.Command for the application.
func GetCommand() *cobra.Command {
return baseCmd
}