From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: proposal: enhance and rename guile-tools Date: Sat, 19 Mar 2011 12:36:25 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1300538466 21447 80.91.229.12 (19 Mar 2011 12:41:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 12:41:06 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Mar 19 13:41:00 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0vSm-0003Ph-8G for guile-devel@m.gmane.org; Sat, 19 Mar 2011 13:41:00 +0100 Original-Received: from localhost ([127.0.0.1]:41920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0vSl-0004FL-K3 for guile-devel@m.gmane.org; Sat, 19 Mar 2011 08:40:59 -0400 Original-Received: from [140.186.70.92] (port=44260 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0vSg-0004E9-Eg for guile-devel@gnu.org; Sat, 19 Mar 2011 08:40:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0vSf-0004sd-8W for guile-devel@gnu.org; Sat, 19 Mar 2011 08:40:54 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:52360 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0vSf-0004rh-5s for guile-devel@gnu.org; Sat, 19 Mar 2011 08:40:53 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 4CDBE3EF5 for ; Sat, 19 Mar 2011 08:42:27 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type; s=sasl; bh=1 DAKo8nhdNl2RsJeqsFNGTcVxEE=; b=NCHUyigdKT9VyTOqWd+KWXC3RzUjw6eBm 93p5jhaAhoWI5uKmQRHemmb95dQ+uuAW8yb1MG4jIWDamrZFVP+/e73RWXFRHFeB FHwiUQs2gq9JuFbntaRP1hJxixjy9bkHFrM7ji5+UI/lzjRsKf8nCMdwHTI4HWvA 7CUfnY32is= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=sasl; b=pl5 uO93CK3pUquPxlAmzGz632AYtIin/+F8WvtOUy9ucWGW2F49yrQ5Y60dzFUwlFMW lYBH5FOmkc2IKsF6v8AkgaZMKzG87hT8IM2hIzO3PT/Ocjnb7aXr/ItLh3Lnfznn Qi48uS7PxdEVd1lMw9m1TxTVERgPW4a+yuTF3pyE= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 49B2D3EF4 for ; Sat, 19 Mar 2011 08:42:26 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id D06993EF2 for ; Sat, 19 Mar 2011 08:42:25 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 5824428C-5226-11E0-90A6-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11909 Archived-At: Hello all, Like many of you, I am enamored of the "git style" of command line interfaces: "git add this", "git commit that", etc. Guile has guile-tools, which, though not well documented, does support this. "guile-tools compile foo" loads the `(scripts compile)' module, and punts argument processing out to it. But guile-tools is really a verbose name, and it doesn't read well. I propose renaming it to "guile do", spelled "guido". As in, "guido compile foo". It has the nice mnemonic value, and it's also a name in some places, so it has a pleasant subject-verb-object when you say it: "Guido, compile my-file.scm." "Waiter, bring the wind list." Then if we get a CPAN, it will add guido commands by defining (scripts ...) modules. "guido update". "guido install". "guido upgrade". And so on. We'll have to improve the default help that guile-tools gives, of course. What think ye? Of course we'd keep around the "guile-tools" binary for some years yet. Andy -- http://wingolog.org/