Is it possible to invoke clojure / clj outside of a specific project directory but passed it as a command line argument instead?
I would like to do this:
/opt/homebrew/bin/clj --project-dir /my/clojure/project$ rlwrap bb
Babashka v1.12.210-SNAPSHOT REPL.
Use :repl/quit or :repl/exit to quit the REPL.
Clojure rocks, Bash reaches.
user=> (require '[babashka.tasks :as tasks])
nil
user=> (tasks/clojure {:dir "/tmp"} "-M" "-e" "(System/getProperty \"user.dir\")")
"/private/tmp"similar with babashka.process/shell + {:dir ..} + "clj" or "clojure"
Not currently
clj -Sdeps '{:aliases {:project {:deps {my/project {:local/root "/my/clojure/project"}}}}}' -A:project perhaps?