Skip to content

Commit

Permalink
allow passing paths and extension via CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Oct 18, 2024
1 parent 4a18561 commit 9190bb1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/squint/internal/cli.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ Options:
{:cmds ["nrepl-server"] :fn start-nrepl}

{:cmds ["watch"] :fn (fn [{:keys [opts]}]
(watch opts))}
(prn :opts opts)
#_(watch opts))}
{:cmds [] :fn fallback}])

(defn init []
Expand All @@ -231,4 +232,6 @@ Options:
:coerce {:elide-exports :boolean
:elide-imports :boolean
:output-dir :string
:repl :boolean}}))
:repl :boolean
:paths [:string]
:extension :string}}))

0 comments on commit 9190bb1

Please sign in to comment.