           {:group :cljs.cli/compile :fn figwheel-opts-opt
            :arg "edn"
            :doc (str "Options to configure figwheel.main, can be an EDN string or "
+                     "system-dependent path-separated list of EDN files / classpath resources. Options "
+                     "will be merged left to right.")}
+          ["-co" "--compile-opts"]
+          {:group :cljs.cli/main&compile :fn compile-opts-opt
+           :arg "edn"
+           :doc (str "Options to configure the build, can be an EDN string or "
                      "system-dependent path-separated list of EDN files / classpath resources. Options "
                      "will be merged left to right.")}
           ;; TODO uncertain about this

  (let [options (get-build bn)]
    (-> cfg
        (update :options merge options)
        (assoc-in [::build] (cond-> {:id bn}
                              (meta options)
                              (assoc :config (meta options)))))))

(defn build-once-opt [cfg bn]
  (let [cfg (build-opt cfg bn)]

          (println (.getMessage e))
          (throw e))))))


))

#_(def test-args
