guix-devel/guix/scripts
Ludovic Courtès b3f213893b ui: Factorize command-line + env. var. option parsing.
* guix/ui.scm (%default-argument-handler, parse-command-line): New
  procedures.
  (environment-build-options): Make private.
* guix/scripts/archive.scm (guix-archive)[parse-options,
  parse-options-from]: Remove.  Use 'parse-command-line' instead.
* guix/scripts/build.scm (guix-build): Likewise.
* guix/scripts/environment.scm (guix-environment): Likewise.
* guix/scripts/package.scm (guix-package): Likewise.
* guix/scripts/system.scm (guix-system): Likewise.
* tests/ui.scm (with-environment-variable): New macro.
  ("parse-command-line"): New test.
2015-02-26 00:04:36 +01:00
..
import import: Add CPAN importer. 2015-01-09 10:38:26 -06:00
archive.scm ui: Factorize command-line + env. var. option parsing. 2015-02-26 00:04:36 +01:00
authenticate.scm authenticate: Add compatibility hack for Guile 2.0.5. 2014-05-16 10:22:19 +02:00
build.scm ui: Factorize command-line + env. var. option parsing. 2015-02-26 00:04:36 +01:00
download.scm Use `port-sha256' and `open-sha256-port'. 2013-07-03 01:18:24 +02:00
environment.scm ui: Factorize command-line + env. var. option parsing. 2015-02-26 00:04:36 +01:00
gc.scm ui: Add 'size->number'. 2014-04-08 22:01:44 +02:00
hash.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
import.scm import: Add CPAN importer. 2015-01-09 10:38:26 -06:00
lint.scm lint: handle FTP URIs. 2015-02-10 00:24:30 +01:00
offload.scm offload: Better report failure to create the GC root directory. 2015-02-05 23:40:55 +01:00
package.scm ui: Factorize command-line + env. var. option parsing. 2015-02-26 00:04:36 +01:00
pull.scm pull: Always install the ~/.config/guix/latest symlink. 2015-02-06 17:39:10 +01:00
refresh.scm refresh: Add end-of-line to error message. 2014-10-20 17:03:02 -05:00
substitute-binary.scm substitute-binary: Let the user know when the cache is being updated. 2015-01-26 21:58:12 +01:00
system.scm ui: Factorize command-line + env. var. option parsing. 2015-02-26 00:04:36 +01:00