github.com/supabase/cli@v1.168.1/tools/listdep/main.go (about) 1 package main 2 3 import ( 4 "encoding/json" 5 "log" 6 "os" 7 "strings" 8 9 "github.com/supabase/cli/internal/utils" 10 ) 11 12 func main() { 13 external := make([]string, 0) 14 for _, img := range utils.ServiceImages { 15 if !strings.HasPrefix(img, "supabase/") || 16 strings.HasPrefix(img, "supabase/logflare") { 17 external = append(external, img) 18 } 19 } 20 21 enc := json.NewEncoder(os.Stdout) 22 if err := enc.Encode(external); err != nil { 23 log.Fatal(err) 24 } 25 }