Is there any recommended way to change working directory inside a script? I need to go to /some/folder/, run there vagrant up
, then return back.
@mike1452 (shell {:dir ...} ....)
or outside tasks, (process [...] {:dir ...})
, although you can use shell
from anywhere as babashka.tasks/shell
as well
ah, thanks!
Hey, I know cursive support is in the pipes, but is there a way to use a deps project base nrepl and babashka? I'm actually able to work just fine, however if I use babashka.classpath
or babashka.deps
cursive can't seem to create stubs for them, the way it can for datomic or java_time. I prefer cursive's nREPL rather than bb's tubular socket repl which is less practical for me.
@nicolas.estrada938 babashka also has nREPL btw
There is an open issue for clojure-lsp and bb. It has a script to pull babashka's own deps.edn, do some transformations on that and then give that classpath to clojure-lsp. https://github.com/babashka/babashka/issues/733 Something similar might work for Cursive meanwhile.
@cfleming might be able to give you more pointers
ok cool thanks!