Changes in 0.2.1 (should make it to maven central soon):
* :required option no longer supported, caused issues when trying to
provide your own --help and you have other parameters that are
"required".
You must now validate your own required parameters, eg:
(let [[options args banner] (cli [] ["-f" "--foo"])]
(when-not (:foo options)
(println "Foo is required")
(println banner)
(System/exit 0))
...)
Thanks,
Gaz
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en