Нет описания

test_detect.go 311B

    package main import ( "fmt" "os" "./detect" ) func main() { if len(os.Args) < 2 { fmt.Printf("Usage: %s <file>\n", os.Args[0]) os.Exit(1) } file := os.Args[1] for _, project := range detect.DetectAll(file) { runCmd := project.Commands["run"] fmt.Printf("%v (%v)\n", project.Id, runCmd) } }