Given the following code (defn parse-opts "Using the newer cli library, parses command line args." [args] (cli args (optional ["--in-file-name" ".csv input file" :default "resultset.csv"] identity) (optional ["--out-file-name" ".csv pipe delimited output file" :default "accumail_out.unl"] )))
What is the origin of optional, and why do tools.cli examples that I can find now leave out (optional ... ? Would current examples still use identity? Here is why I'm asking: http://stackoverflow.com/questions/12112403/how-do-i-mix-non-optional-cli-arguments-with-optional-ones Thanks for any pointers or help. -- 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