github.com/lyft/flytestdlib@v0.3.12-0.20210213045714-8cdd111ecda1/cli/pflags/main.go (about)

     1  // Generates a Register method to automatically add pflags to a pflagSet for all fields in a given type.
     2  package main
     3  
     4  import (
     5  	"log"
     6  
     7  	"github.com/lyft/flytestdlib/cli/pflags/cmd"
     8  )
     9  
    10  func main() {
    11  	err := cmd.Execute()
    12  	if err != nil {
    13  		log.Fatal(err)
    14  	}
    15  }