func main() { directory := flag.String("directory", "/usr/local/rct", "Path to the folder storing RCT experiment data") packageRoot := flag.String("package-root", "/", "Path to the folder running github.com/kevinburke/rct (for finding commit hashes)") flag.Parse() if len(flag.Args()) > 0 { log.Fatalf("Usage: genetic [-directory DIRECTORY] ") } log.Fatal(genetic.Run(*directory, *packageRoot)) }
func main() { packageRoot := flag.String("package-root", "/", "Path to the folder running github.com/kevinburke/rct (for finding commit hashes)") flag.Parse() if len(flag.Args()) > 0 { log.Fatalf("Usage: genetic [-directory DIRECTORY] ") } err := genetic.Run(*packageRoot) if err != nil { log.Fatal(err) } }