github.com/argoproj/argo-cd/v2@v2.10.9/hack/gen-resources/cmd/main.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"os"
     6  
     7  	"github.com/argoproj/argo-cd/v2/hack/gen-resources/cmd/commands"
     8  	// load the gcp plugin (required to authenticate against GKE clusters).
     9  	_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
    10  )
    11  
    12  func main() {
    13  	command := commands.NewCommand()
    14  	if err := command.Execute(); err != nil {
    15  		fmt.Println(err)
    16  		os.Exit(1)
    17  	}
    18  }