Carve up to frontend.components.sidebar

This commit is contained in:
Gabriel Horner
2022-01-24 17:37:51 -05:00
parent 8b428796bc
commit 4ce3db2497
12 changed files with 4 additions and 158 deletions

View File

@@ -35,7 +35,8 @@ in an optional string of options"
[args]
(let [default-opts (slurp ".carve/config.edn")
opts (if-let [more-opts (first args)]
(pr-str (merge (edn/read-string default-opts) (edn/read-string more-opts)))
(pr-str (merge (select-keys (edn/read-string default-opts) [:paths :api-namespaces])
(edn/read-string more-opts)))
default-opts)]
(apply carve.main/-main ["--opts" opts])))