06 June 2010

Building a Clojure app that handles command-line arguments

Clojure-contrib has a great package (clojure.contrib.command-line) that'll process command-line arguments for you so you don't have keep writing custom code to parse it yourself.

Only problem is the documentation is sparse, to say the least.

Look to Stack Overflow instead, where there's a great answer that's essentially the API's documentation.

No comments: