       )
 
   (generate
-    :ui
+    (api/get-build-config :ui)
     {:report-file ".shadow-cljs/build-report/index.html"
      :inline false})
   )

          (keyword (str (name build-id) "-release-snapshot"))

          build-config
          (-> (api/get-build-config build-id)
              (assoc
                :build-id build-id-alias
                ;; not required, the files are never going to be used


;; FIXME: parse args properly, need support for tag and output-dir
(defn -main [build-id report-file]
  (generate
    (api/get-build-config
      (keyword build-id))
    {:print-table true
     :report-file report-file}))


(comment
  (generate
    (api/get-build-config :browser)
    {:print-table true
     :report-file "tmp/report.html"}))