From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: Re: Reorganizing guix package commands Date: Thu, 21 Apr 2016 09:10:18 +0200 Message-ID: <87mvon4eud.fsf@T420.taylan> References: <874mazi99k.fsf@gmail.com> <877ffual6i.fsf@gnu.org> <877ffujasf.fsf@gmail.com> <8737qh1tqm.fsf@gnu.org> <87wpns4oi2.fsf@T420.taylan> <20160421024939.GB18423@debian-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1at8ko-0006zI-IV for guix-devel@gnu.org; Thu, 21 Apr 2016 03:10:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1at8kn-00034H-P0 for guix-devel@gnu.org; Thu, 21 Apr 2016 03:10:22 -0400 In-Reply-To: <20160421024939.GB18423@debian-netbook> (Efraim Flashner's message of "Thu, 21 Apr 2016 05:49:39 +0300") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Efraim Flashner Cc: guix-devel@gnu.org, Alex Kost Efraim Flashner writes: > On Wed, Apr 20, 2016 at 11:29:25AM +0200, Taylan Ulrich Bay=C4=B1rl=C4=B1= /Kammer wrote: >> ludo@gnu.org (Ludovic Court=C3=A8s) writes: >>=20 >> >> Maybe instead of --list-generations and others, these options should >> >> transform into subcommands (list-generations) of "guix profile". >> > >> > I agree. But what should we do of transactions? >>=20 >> I'd like to re-propose the use of '--' to delineate the end of arguments >> to a sub-command. E.g.: >>=20 >> guix install foo bar -- remove baz bat >>=20 >> (Leaving aside whether it's 'guix install', 'guix package install', >> 'guix profile add', or anything else.) >>=20 >> Taylan >>=20 > > Currently you can already call > > guix package -i foo bar -r baz Right, that works when install/remove are switches. My proposal was meant in the context of making them sub-commands instead of switches. Taylan