INNER CODE UNIT · Go

main

NVIDIA/gpu-operator · cmd/manage-crds/main.go:38

func main() {
	config := config{}

	// Create the top-level CLI
	c := cli.Command{}
	c.Name = "manage-crds"
	c.Usage = "Tools for managing Custom Resource Definitions (CRDs) for NVIDIA GPU Operator"
	c.Version = info.GetVersionString()

	// Setup the flags for this command
	c.Flags = []cli.Flag{
		&cli.BoolFlag{
			Name:        "debug",
			Aliases:     []string{"d"},
			Usage:       "Enable debug-level logging",
			Destination: &config.Debug,
			Sources:     cli.EnvVars("DEBUG"),
		},

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…