clj-holmes / clj-watson

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

Clean up command-line tool invocation #49

Closed seancorfield closed 10 months ago

seancorfield commented 10 months ago

Per the README:

clojure -Tclj-watson scan :deps-edn-path '"deps.edn"' :output '"stdout"'
#or:
clojure -Tclj-watson scan '{:deps-edn-path "deps.edn" :output "stdout"}'

(this is somewhat verbose now but it will be improved over the next few releases)

seancorfield commented 10 months ago

Also: the defaults for the -m CLI do not apply for -X/-T which makes things even more verbose.

For string options, allow symbols so fewer quotes are needed.