I thought this was the go-to library for command line parsing:

https://github.com/clojure/tools.cli

I believe it is, yes. Some history:

  *   I think clojure.contrib.command-line was created by Chris Houser and 
maintained mostly by Stuart Sierra (until 2011). It was deprecated along with 
everything else in “Monolithic Contrib” as part of the Clojure 1.3 release.
  *   clojure.tools.cli was originally created by Gareth Jones from the Clargon 
library (starting in 2011)
  *   For the 0.3.0 release, Sung Pae took over and rewrote it based on his 
optparse-clj library and included ClojureScript support (starting in 2013)
  *   I took over as maintainer for the 0.3.2 release (starting in 2015) and 
I’m happy to look at any enhancement requests or features offered by any other 
command line argument parsing library that folks make me aware of!

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

________________________________
From: clojure@googlegroups.com <clojure@googlegroups.com> on behalf of Patrik 
Sundberg <patrik.sundb...@gmail.com>
Sent: Tuesday, June 12, 2018 6:13:39 AM
To: Clojure
Subject: Re: detecting running as script

I thought this was the go-to library for command line parsing:

https://github.com/clojure/tools.cli

On Wednesday, January 14, 2009 at 7:11:23 PM UTC, Grunde Løvoll wrote:
Thanks!

I'll have a look at clojure.contrib.command-line. I don't need
anything super-powerfull, just something that make it easy to define
and parse command line arguments in the "normal manner".

Sorry about my previous double post :(

Grunde

On Wed, Jan 14, 2009 at 6:00 PM, Chouser <cho...@gmail.com<javascript:>> wrote:
>
> On Wed, Jan 14, 2009 at 5:58 AM, Grunde <grunde...@gmail.com<javascript:>> 
> wrote:
>>
>> Now, it these some elegant way to parse and use the passed command
>> line arguments in my program? Is there any lib like Ruby/Pythons
>> optparse to assist parsing of command line arguments?
>
> There is clojure.contrib.command-line
>
> I don't know if it's elegant, and it's certainly not (yet) as powerful
> as many optparse tools in some other languages, but I've found it to
> be useful.
>
> --Chouser
>
> >
>

--
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<mailto:clojure+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

-- 
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.

Reply via email to