clj-holmes / clj-watson

clojure deps SCA
Eclipse Public License 2.0
84 stars 9 forks source link

dev: explore making command line parsing easier to adapt and maintain #77

Closed lread closed 3 months ago

lread commented 3 months ago

Currently

Clj-watson employs cli-matic to specify and parse its command line options.

But..

Cli-matic is good, but I think babashka.cli will likely be a better fit.

They both support specifying your command line, but babashka.cli is more of a toolbox than just a DSL and offers more flexibility:

Consideration

Clj-watson explicitly supports clojure tool -T usage. At the very least, we need to retain any existing -T niceties. See https://github.com/clj-holmes/clj-watson/issues/67#issuecomment-2264578457

Next Steps

I'll explore this idea locally, and if it all is good, follow up with a PR.