On Jul 14, 7:55 am, Mark Rathwell <mark.rathw...@gmail.com> wrote:
> The listing is nice...maybe would be nice to be able to limit the listing to
> one artifact, or a match of artifacts with wildcards, not sure if the
> feature would be used enough to justify the work though, but something like:
>
> lein localrepo list "*ring*"
>
> would output:
>
> [ring]
>   ring-core (0.2.0, 0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
>   ring-devel (0.3.5, 0.3.7, 0.3.8)
>   ring-jetty-adapter (0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
>   ring-servlet (0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
>
> [lein-ring]
>   lein-ring (0.3.2, 0.4.0, 0.4.3)

Hmm, personally I think `grep` would fit this kind of usage nicely but
I can see why that won't work. How about doing a lein-search's style
of display?

$ lein localrepo list | grep ring

ring/ring-core (0.2.0, 0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
ring/ring-devel (0.3.5, 0.3.7, 0.3.8)
ring/ring-jetty-adapter (0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
ring/ring-servlet (0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
lein-ring/lein-ring (0.3.2, 0.4.0, 0.4.3)

Does that look palatable?

Regards,
Shantanu

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

Reply via email to