Fork me on GitHub
#babashka
<
2021-06-02
>
darong15:06:08

Is there a way to use an older version of clojure.tools.cli instead of the one included with babashka? I'm trying to call kibit with babashka. However, it seems kibit is using old api, https://github.com/jonase/kibit/blob/master/kibit/project.clj

borkdude15:06:00

@darong I think you can also evaluate tools.cli from source. in that case you should include it as a library in bb.edn and then use :reload to load it from source

borkdude15:06:13

it would surprise me if kibit works with babashka though, I don't think babashka can run tools.reader or core.logic from source

darong15:06:27

@borkdude I'm new to babashka and playing around to see what works and what not. Thanks for the info. :reload is a nice trick, I'll definitely try it.

borkdude15:06:16

@darong cool. there is a list of compatible libraries here: https://github.com/babashka/babashka/blob/master/doc/projects.md there might be more of course

👍 1