From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.86.59.13 with SMTP id h13cs94485fga; Thu, 4 Mar 2010 05:12:29 -0800 (PST) Received: by 10.220.89.195 with SMTP id f3mr651005vcm.138.1267708347839; Thu, 04 Mar 2010 05:12:27 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 29si261135vws.40.2010.03.04.05.12.27; Thu, 04 Mar 2010 05:12:27 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 9A11418582D2; Thu, 4 Mar 2010 08:12:26 -0500 (EST) Received: from mail-ew0-f225.google.com (mail-ew0-f225.google.com [209.85.219.225]) by rubyforge.org (Postfix) with ESMTP id 32D3C18582E4 for ; Thu, 4 Mar 2010 08:12:17 -0500 (EST) Received: by ewy25 with SMTP id 25so1794146ewy.19 for ; Thu, 04 Mar 2010 05:10:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:notmuch-help :notmuch-help:notmuch-help:notmuch-help:from:subject:to:in-reply-to :references; bh=3Vb/oKuhUHej45xozoGr/yDEo9okudcS9T93U5W+3Po=; b=k0/NoVQ12Z/xXGF0zRMYZJ07fvaOzX1fvS8q+6Gx0yrKqzxgEhQRp7JCYoaBOOoJAo FBk51s5C+F7r5gvrKMxgPI9mcPl0llBiMMXDPFiJC376I8gXIzbxigLxrMaiXqUAmZg9 eJu5Mgz1JfscwFm1ItN7wqo+mneEKM35WdIlg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:notmuch-help:from:subject:to:in-reply-to:references; b=HTYcHnY0g6GQPsJdOg6qe/kKbsk4JrEYeL/NK7AO78t2EqKNro+7Op5gHjriDGBQPJ d6o/frdagomtARGHpQHg0/kZUxpFsW522ta2/wOmfADmm+p0xIoxxXoxE6S21NjgGug5 t5LHBZnUKKGv4NBBRq1f0m0iKdnmFGZolvGsY= Received: by 10.213.100.129 with SMTP id y1mr1136921ebn.47.1267708240781; Thu, 04 Mar 2010 05:10:40 -0800 (PST) Received: from localhost (ks.feydakins.org [91.121.104.209]) by mx.google.com with ESMTPS id 7sm1395783eyb.1.2010.03.04.05.10.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Mar 2010 05:10:39 -0800 (PST) Message-ID: <4b8fb14f.0702d00a.5427.ffffe469@mx.google.com> Date: Thu, 04 Mar 2010 05:10:39 -0800 (PST) Notmuch-Help: ,a - attach a file Notmuch-Help: ,s - send the message (Notmuch-Help lines will be removed) Notmuch-Help: ,q - abort the message Notmuch-Help: - skip through header lines From: Nicolas Pouillard To: Rich Lane , sup-devel In-Reply-To: <1267687531-sup-5689@zyrg.net> References: <1267687531-sup-5689@zyrg.net> Subject: Re: [sup-devel] now in next: sup-cmd X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org On Thu, 04 Mar 2010 02:48:16 -0500, Rich Lane 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