[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Transformations Shell Syntax
From: |
Ludovic Courtès |
Subject: |
Re: Transformations Shell Syntax |
Date: |
Sun, 02 Jul 2023 21:54:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
HI,
John Kehayias <john.kehayias@protonmail.com> skribis:
> As one who also would like a shorter syntax option, here's a quick thought:
> what about a short version of what we have for when there is only one package
> given or it can be applied to all packages/be a positional argument? An
> example is perhaps best, so what if we could write:
>
> guix shell <package> --with-latest
>
> or guix shell <package> -<a letter which is available>
>
> which is short for
>
> guix shell <package> --with-latest=<package>
>
> or even
>
> guix shell <package1> <package2> <package3> --with-latest
>
> to apply to all packages.
This should be possible. We should check the option parsers and
transformation procedures in (guix transformations).
> Or something like
>
> guix shell <package1> <package2> --with-git-url=<a git url for package3>
> <package3>
>
> and so on.
This I’m unsure; one might argue that it’s also ambiguous, I’d always
wonder what ‘--with-git-url’ applies to.
Thanks,
Ludo’.