This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-14
Channels
- # announcements (40)
- # aws (9)
- # babashka (21)
- # beginners (75)
- # calva (56)
- # chlorine-clover (1)
- # cider (12)
- # circleci (1)
- # clj-kondo (7)
- # cljsrn (13)
- # clojars (3)
- # clojure (171)
- # clojure-dev (11)
- # clojure-europe (64)
- # clojure-nl (11)
- # clojure-spec (6)
- # clojure-uk (9)
- # clojurescript (31)
- # conjure (1)
- # cursive (7)
- # datascript (7)
- # datomic (9)
- # emacs (4)
- # fulcro (65)
- # introduce-yourself (1)
- # jobs-discuss (7)
- # kaocha (7)
- # lsp (39)
- # missionary (5)
- # off-topic (54)
- # pathom (10)
- # re-frame (6)
- # shadow-cljs (110)
- # tools-deps (41)
I'm not sure I see the benefit of adding this. Just use -M/-m? Writing and correctly quoting Clojure values in the shell is a pain compared to just using unix conventions. The wrapper script is also not optional, it's part of Kaocha's UI contract that projects have the wrapper script.
I'm not saying the wrapper script is optional, nor am I trying to eliminate it. But -X is intended for invoking things like this and is a really nice de-complection of "use this as the main ns" and "run this code from the CLI" for things pulling it into a REPL. that will help w/ kaocha v2's goal of letting the build tooling create the classpath, for example (see the wishlist issue).
This PR, if anything, reduces the amount of "writing and correctly quoting Clojure values in the shell"
they go into actual EDN in your deps.edn
How about using kaocha.repl/run
then? This seems like it should work well, and doesn't introduce extra API surface and additional conventions of how options map to names.
My proposed solutions: https://github.com/lambdaisland/kaocha/pull/246#issuecomment-921118519
New PR basically gathering up @U07FP7QJ0' suggestion, @U06FS3DLH's documentation, and some additional documentation by me. https://github.com/lambdaisland/kaocha/pull/249