Hi, I have a main function:
(defn -main [& args] (let [{:keys [graph filepath title]} args] (cond (= graph "response") (graph-response filepath title) (= graph "requests") (graph-request filepath) (= graph "throughput") (graph-throughput filepath)))) Which I can invoke with this call: (-main :graph "throughput" :filepath "./aggregate-report.csv") However, when I create an uberjar and do this: java -jar jmeter-graphs-0.1.0-standalone.jar :graph "throughput" :filepath "./aggregate-report.csv" There arguments are not destructured. Is it possible to use key value pairs through the command line? Many Thanks Aidy -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.