瀏覽代碼

Show include path in show command

Jordi Boggiano 12 年之前
父節點
當前提交
5edb49c067
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/Composer/Command/ShowCommand.php

+ 4 - 0
src/Composer/Command/ShowCommand.php

@@ -190,6 +190,10 @@ EOT
                     $output->writeln(implode(', ', $autoloads));
                 }
             }
+            if ($package->getIncludePaths()) {
+                $output->writeln('<comment>include-path</comment>');
+                $output->writeln(implode(', ', $package->getIncludePaths()));
+            }
         }
     }