I was happy to see that Netlify includes clojure
as a default CLI tool but it seems like the version there doesn't include the recent additions of -M
and -X
which is annoying because now I get local warnings about -M
...
Is there a technical reason -m foo/bar
doesn't work when you have (ns foo) (defn bar [& args])
? Maybe the JVM background where -main
is compiled to a Java main function?
But this should probably not matter for :main-opts
invocations which usually happen from source?
given the recent work on the deps.edn execute stuff I doubt this will ever make it in 😛
I want to support this in babashka, -f
already means: execute file there.
If there are no technical or philosophical objections, I will support this
given that many other tools already support using namespaced symbols in -m
I'd say go for it
thanks