瀏覽代碼

added package homepage information to the command 'show'

Mathías Donoso 5 年之前
父節點
當前提交
14b3f09cf8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Composer/Command/ShowCommand.php

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

@@ -579,6 +579,7 @@ EOT
     {
         $io = $this->getIO();
         $io->write('<info>name</info>     : ' . $package->getPrettyName());
+        $io->write('<info>homepage</info> : ' . $package->getHomepage());
         $io->write('<info>descrip.</info> : ' . $package->getDescription());
         $io->write('<info>keywords</info> : ' . implode(', ', $package->getKeywords() ?: array()));
         $this->printVersions($package, $versions, $installedRepo);