Explorar o código

added package homepage information to the command 'show'

Mathías Donoso %!s(int64=6) %!d(string=hai) anos
pai
achega
14b3f09cf8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);