github.com/argoproj/argo-events@v1.9.1/cmd/commands/webhook.go (about)

     1  package commands
     2  
     3  import (
     4  	"github.com/spf13/cobra"
     5  
     6  	webhookcmd "github.com/argoproj/argo-events/webhook/cmd"
     7  )
     8  
     9  func NewWebhookCommand() *cobra.Command {
    10  	command := &cobra.Command{
    11  		Use:   "webhook-service",
    12  		Short: "Start validating webhook server",
    13  		Run: func(cmd *cobra.Command, args []string) {
    14  			webhookcmd.Start()
    15  		},
    16  	}
    17  	return command
    18  }