From 3896a6c2636e99997db88e3b89eae2d4b2348f55 Mon Sep 17 00:00:00 2001 From: Sebastien Chemin Date: Mon, 28 Sep 2015 13:22:38 +0200 Subject: [PATCH] Enable cmdline configuration for archive-dir and archive-format Examples of commands : composer config --global archive-dir $HOME/.composer/repo composer config --global archive-format zip --- src/Composer/Command/ConfigCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Composer/Command/ConfigCommand.php b/src/Composer/Command/ConfigCommand.php index 2b7fd4846..8a363be24 100644 --- a/src/Composer/Command/ConfigCommand.php +++ b/src/Composer/Command/ConfigCommand.php @@ -293,6 +293,8 @@ EOT 'notify-on-install' => array($booleanValidator, $booleanNormalizer), 'vendor-dir' => array('is_string', function ($val) { return $val; }), 'bin-dir' => array('is_string', function ($val) { return $val; }), + 'archive-dir' => array('is_string', function ($val) { return $val; }), + 'archive-format' => array('is_string', function ($val) { return $val; }), 'cache-dir' => array('is_string', function ($val) { return $val; }), 'cache-files-dir' => array('is_string', function ($val) { return $val; }), 'cache-repo-dir' => array('is_string', function ($val) { return $val; }),