瀏覽代碼

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
Sebastien Chemin 9 年之前
父節點
當前提交
3896a6c263
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/Composer/Command/ConfigCommand.php

+ 2 - 0
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; }),