[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reorganizing guix package commands
From: |
Efraim Flashner |
Subject: |
Re: Reorganizing guix package commands |
Date: |
Thu, 21 Apr 2016 05:49:39 +0300 |
User-agent: |
Mutt/1.6.0 (2016-04-01) |
On Wed, Apr 20, 2016 at 11:29:25AM +0200, Taylan Ulrich Bayırlı/Kammer wrote:
> address@hidden (Ludovic Courtès) writes:
>
> >> 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?
>
> I'd like to re-propose the use of '--' to delineate the end of arguments
> to a sub-command. E.g.:
>
> guix install foo bar -- remove baz bat
>
> (Leaving aside whether it's 'guix install', 'guix package install',
> 'guix profile add', or anything else.)
>
> Taylan
>
Currently you can already call
guix package -i foo bar -r baz
and it'll install and remove packages as you'd expect. Another option
that'll cut down on the length of the command but keep it obvious what's
going on is if it were changed to
guix profile +foo +bar -baz
--
Efraim Flashner <address@hidden> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature
- Re: Reorganizing guix package commands, (continued)
- Re: Reorganizing guix package commands, Alex Kost, 2016/04/20
- Re: Reorganizing guix package commands, Taylan Ulrich Bayırlı/Kammer, 2016/04/20
- Re: Reorganizing guix package commands, Ludovic Courtès, 2016/04/20
- Re: Reorganizing guix package commands, myglc2, 2016/04/21
- Re: Reorganizing guix package commands, John Darrington, 2016/04/21
- Re: Reorganizing guix package commands, Taylan Ulrich Bayırlı/Kammer, 2016/04/20
- Re: Reorganizing guix package commands,
Efraim Flashner <=
- Re: Reorganizing guix package commands, Taylan Ulrich Bayırlı/Kammer, 2016/04/21
Re: Reorganizing guix package commands, Hartmut Goebel, 2016/04/18