[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] now in next: sup-cmd



On Thu, 04 Mar 2010 02:48:16 -0500, Rich Lane <rlane@club.cc.cmu.edu> wrote:
> I already had the code for a sup-server sup-cmd sitting around, so I
> wrote a small compatibility layer that lets it run using the mainline
> index API. It outputs YAML.
> 
> Usage:
> sup-cmd count 'is:inbox'
> sup-cmd query --offset 10 --limit 5 'is:unread'
> sup-cmd label --add-labels 'bugs' --remove-labels 'inbox' 'is:inbox AND from:bugzilla'
> sup-cmd add --labels 'sent' < email

This is great!

BTW is there any hope to reach a kind of concensus of a nice CLI API with
notmuch people?

-- 
Nicolas Pouillard
http://nicolaspouillard.fr
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel