You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to use the library for parsing cli args and get the data as a map instead of running it.
This can be used inside an inline bb task where the dispatch function does not work ?! (did not try).
bb.edn
fetch-config
{:task (let [opts (cli/parse-opts *command-line-args* cli-spec)]
;; use opts to run a simple command
)
)}
I am looking into using babashka.cli instead for this use case which is perfectly ok.
I created this issue to record the use case.
Even if it's not possible, it should be documented IMO.
Thanks,
Eugen
The text was updated successfully, but these errors were encountered:
Hello,
I wanted to use the library for parsing cli args and get the data as a map instead of running it.
This can be used inside an inline bb task where the dispatch function does not work ?! (did not try).
bb.edn
I am looking into using babashka.cli instead for this use case which is perfectly ok.
I created this issue to record the use case.
Even if it's not possible, it should be documented IMO.
Thanks,
Eugen
The text was updated successfully, but these errors were encountered: