I have a couple command line tools written as libraries that I'd like to expose as proper Clojure Tools. They have classic POSIX-style command line interfaces, relying on tools.cli. I could add an -X
kv-map interface, but there are a number of boolean flags that would not translate well to :foo true
style (such as arbitrary file paths).
Is there a way to pass arbitrary arguments to a clojure Tool without using the kv-map style?
And if not, would there be interest in a flag or option that would allow for such a thing?