This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-08-02
Channels
- # announcements (2)
- # babashka (16)
- # beginners (48)
- # biff (5)
- # calva (21)
- # cider (9)
- # clerk (24)
- # clj-kondo (43)
- # clj-otel (3)
- # clj-yaml (44)
- # cljdoc (13)
- # cljs-dev (2)
- # cljsrn (7)
- # clojure (39)
- # clojure-dev (21)
- # clojure-europe (18)
- # clojure-hamburg (1)
- # clojure-losangeles (1)
- # clojure-norway (24)
- # clojure-sweden (4)
- # core-typed (3)
- # cursive (7)
- # data-science (10)
- # datalevin (7)
- # datomic (49)
- # emacs (7)
- # events (2)
- # graalvm (7)
- # hyperfiddle (56)
- # integrant (10)
- # jobs-discuss (29)
- # leiningen (27)
- # lsp (12)
- # malli (3)
- # off-topic (13)
- # polylith (18)
- # reagent (13)
- # sci (49)
- # shadow-cljs (94)
- # sql (3)
- # squint (2)
- # vscode (5)
- # xtdb (17)
Is there a bb
flag to disable interpreting args as tasks?
Say I’ve defined a repl
task in bb.edn
, can I somehow still run a bb REPL? bb repl
will now run my task… :face_palm:
(I know I should probably choose a different task name, just wondering if there was a different way)
bb should probably warn about overridden stuff, there's an issue for it, that I'll work on for the next release
Great, thanks!
I think as long as subcommands can be “forced” by prefixing them with --
, an override warning would not be important to me. Could actually be nice to use bb
as a general CLI for a clojure project and override more commands such as bb help
… Then again it’s probably cleaner to create a shell script that rewrites ./cli <cmd> [<args>...]
to bb run <cmd> <args>…
I’m working on a tool and I prefer to develop it from a Clojure nrepl (slightly better repl output). But with a plain Clojure project I’m missing the dependencies of Babashka
ah cool, I’ll try that
bb repl
(and rlwrap bb repl
) seem to provide a not great repl environment.
I'm guessing that's not a high priority since the bb docs don't say much except how to start it, and then go on to talk about all the other repl (server) options to use...
not a criticism of bb. just installed it and reading about it and looks awesome. just wondering whether issues with the bb repl
command are worth bringing up or not.
the bb repl is just as basic as the clj
REPL. The preferred way of using a REPL in Clojure is not on the terminal but connected to your editor
there's better options like https://github.com/bhauman/rebel-readline, but those are currently not in scope for bb as it would require dragging in dependencies that you likely wouldn't use otherwise and those would bloat the binary. You could also just develop your project in regular JVM Clojure and then run it with bb for faster startup. You can print the bundled dependencies with bb print-deps