Fork me on GitHub
#kaocha
<
2022-06-14
>
borkdude09:06:31

👋 @plexus @actuallyalys_slack https://github.com/babashka/cli#clojure-cli is a tool which allows you to call exec fns as proper Unixy CLIs. I made an example of how to call kaocha's exec-fn as a proper CLI with long opts: https://github.com/babashka/cli#kaocha

plexus10:06:47

I understand you're just looking for a good demonstration of babashka cli, but if people want a unixy cli for kaocha they should use the actual kaocha CLI which is powerful and documented. Introducing a fourth way to invoke kaocha is going to confuse people and lead to us having to do extra support work.

plexus10:06:43

We added the exec-fn option because of popular demand, but I see very little reason for it to exist.

borkdude10:06:52

The point of babashka CLI is that isn't not much extra work, if you already have the exec function that you support. But if kaocha already is going to maintain two things: exec and its own CLI, then yes, good point.

plexus10:06:53

Maybe look for an example that only provides an exec-fn interface, that would much better demonstrate the usefulness.

borkdude10:06:05

I already have those :-)

👍 2
plexus10:06:50

Nice. Yeah I totally see the value proposition, but would prefer not to encourage using it with Kaocha.

👍 1
Eugen19:06:16

hi, we noticed this phrase that might be updated: > Currently Kaocha's versioning scheme is 0.0-${commit count}, and releases are made often. As long as the version is at 0.0 Kaocha will be considered alpha, in other words: subject to change. Keep an eye on the CHANGELOG. https://cljdoc.org/d/lambdaisland/kaocha/1.66.1034/doc/1-introduction

plexus19:06:02

PR most welcome! Kaocha like most lambda island libs uses the scheme major.releases.commits. Major is 0 initially, 1 after we've committed to API stability, and only changes to 2 if we make a follow-up library because of necessary breaking changes (like we did with deep-diff2 and kaocha-cljs2)