...

Source file src/github.com/emissary-ingress/emissary/v3/cmd/reproducer/reproducer.go

Documentation: github.com/emissary-ingress/emissary/v3/cmd/reproducer

     1  package reproducer
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/spf13/cobra"
     7  )
     8  
     9  var rootCmd = &cobra.Command{
    10  	Use:  "reproducer [command]",
    11  	Long: `The reproducer command is used to extract debug info and enough ambassador inputs to create high fidelity reproducers of issues encountered with ambassador edge-stack. See the help for each subcommands for more details.`,
    12  }
    13  
    14  func init() {
    15  	rootCmd.AddCommand(extractCmd)
    16  	rootCmd.AddCommand(createCmd)
    17  }
    18  
    19  func Main(ctx context.Context, version string, args ...string) error {
    20  	return rootCmd.ExecuteContext(ctx)
    21  }
    22  

View as plain text