> no reason other than its a small lib with a handful of functions...
I see. Thanks.
--
Name: OGINO Masanori (荻野 雅紀)
E-mail: masanori.og...@gmail.com
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googl
Thanks. This fixed it.
On Jul 29, 9:45 am, gaz jones wrote:
> it lives on github:http://github.com/clojure/tools.cli
> like all the new contrib libs, to use it in a project you need to add
> it to your dependencies:
>
> :dependencies [[org.clojure/clojure "1.2.1"]
> [org.clo
> Well, README and tests are very good.
> I withdrew into REPL and overlooked them stupidly. I'm very sorry.
>
no worries, glad they help.
> BTW some functions seems not to be public API though they are public.
> Why they are not separated by defn- or specific namespace like
> clojure.tools.cli.i
it lives on github: http://github.com/clojure/tools.cli
like all the new contrib libs, to use it in a project you need to add
it to your dependencies:
:dependencies [[org.clojure/clojure "1.2.1"]
[org.clojure/tools.cli "0.1.0"]]
On Fri, Jul 29, 2011 at 7:56 AM, octopusgrabb
On Jul 28, 7:24 pm, Anthony Grimes wrote:
> command-line is deprecated in favor of tools.cli
> now.http://github.com/clojure/tools.cli
Where is the repository located?
(ns addr-verify
(:gen-class)
(:require [clojure.tools.cli :only (cli optional)])
.
.
.
results in this error:
clojur
Well, README and tests are very good.
I withdrew into REPL and overlooked them stupidly. I'm very sorry.
BTW some functions seems not to be public API though they are public.
Why they are not separated by defn- or specific namespace like
clojure.tools.cli.internals?
--
Name: OGINO Masanori (荻野
are there any scenarios in particular you feel need more
documentation? im happy to add more if it is lacking. hopefully the
README on the project page and tests provide a pretty good idea of
what options are available:
https://github.com/clojure/tools.cli
https://github.com/clojure/tools.cli/blob
(defn -main [& args]
(with-command-line args
"Get csv file name"
[[in-file-name ".csv input file name" "resultset.csv" ]]
(println "in-file-name:", in-file-name)))
The second vector of vector seems unnecessary.
Or tools.cli way:
(ns foo.main
(:gen-class)
(:use [clojure.tools.cli :o
Thanks. I'll switch over.
On Jul 28, 7:24 pm, Anthony Grimes wrote:
> command-line is deprecated in favor of tools.cli
> now.http://github.com/clojure/tools.cli
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to cl
command-line is deprecated in favor of tools.cli now.
http://github.com/clojure/tools.cli
--
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 - p
Patch attached to issue at
http://code.google.com/p/clojure-contrib/issues/detail?id=24
On Jan 28, 7:55 pm, Chouser wrote:
> Please make the 'justify' fn (whatever you want to call it) private
> for now so that it doesn't become another API to be maintained. If it
> proves to be more gener
On Wed, Jan 28, 2009 at 1:40 PM, Perry Trolard wrote:
>
> Is there anything I can do to help get the proposed change above, or
> something like it, included in c.c.command-line? I'd be happy to
> modify the patch: removing the somewhat orthogonal alignment code,
> etc.
I've been conflicted over
Hi Chouser,
Is there anything I can do to help get the proposed change above, or
something like it, included in c.c.command-line? I'd be happy to
modify the patch: removing the somewhat orthogonal alignment code,
etc.
Thanks,
Perry
--~--~-~--~~~---~--~~
You receiv
A thought: if you end up using the patch, I gave the 'justify'
function an inappropriate name. It should be 'align' or 'align-cols'
or some such. (No one in their right mind would justify text on the
console!)
Perry
On Jan 14, 3:16 pm, Perry Trolard wrote:
> Hi Chouser,
>
> Thanks for checking
Hi Chouser,
Thanks for checking out the patch.
> It's a good idea. Any sane way to allow the single-letter variety to
> be specified with a single leading dash, instead of a double-dash?
Single or double dashes should work for both kinds of options (long-
or short-style), based on your code. T
On Tue, Jan 13, 2009 at 8:08 PM, Perry Trolard wrote:
>
> Hi Chouser & list,
>
> I like clojure.contrib.command-line -- thanks for it! -- but I wanted
> to be able to specify multiple forms for an option, e.g. --help, -h,
> -?, etc. Here (in the Files section)
>
> http://bit.ly/fIVH
>
> is a pa
16 matches
Mail list logo