-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
babashka version
v1.12.197
neil version
0.3.68
platform
MacOS
problem
Executing neil dep --help results in the following error:
> neil dep --help
----- Error --------------------------------------------------------------------
Type: clojure.lang.ExceptionInfo
Data: {:type :org.babashka/cli, :cause :input-exhausted, :all-commands ("versions" "add" "search" "upgrade" "update"), :opts {:deps-file "deps.edn", :help true}, :dispatch ["dep"]}
Location: /opt/homebrew/bin/neil:1759:3
----- Context ------------------------------------------------------------------
1755: (defn neil-test [{:keys [opts]}]
1756: (neil-test/neil-test opts))
1757:
1758: (defn -main [& _args]
1759: (cli/dispatch
^---
1760: [{:cmds ["add" "dep"] :fn dep-add :args->opts [:lib]}
1761: {:cmds ["add" "test"] :fn add-cognitect-test-runner}
1762: {:cmds ["add" "build"] :fn add-build}
1763: {:cmds ["add" "kaocha"] :fn add-kaocha}
1764: {:cmds ["add" "nrepl"] :fn add-nrepl}
----- Stack trace --------------------------------------------------------------
babashka.cli/dispatch-tree/fn--26128 - <built-in>
babashka.cli/dispatch-tree - <built-in>
babashka.cli/dispatch - <built-in>
babashka.neil/-main - /opt/homebrew/bin/neil:1759:3
babashka.neil/-main - /opt/homebrew/bin/neil:1758:1
babashka.neil - /opt/homebrew/bin/neil:1821:3
babashka.neil - /opt/homebrew/bin/neil:1820:1
repro
This is easily reproduced from the shell by executing neil dep --help.
expected behavior
I'd expect Neil to print help for the dep subcommand.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels