Explorar o código

rename command

Robert Schönthal %!s(int64=11) %!d(string=hai) anos
pai
achega
3a1edd3776
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/Composer/Command/HomeCommand.php

+ 2 - 1
src/Composer/Command/HomeCommand.php

@@ -35,7 +35,8 @@ class HomeCommand extends Command
     protected function configure()
     {
         $this
-            ->setName('home')
+            ->setName('browse')
+            ->setAliases(array('home'))
             ->setDescription('opens the package in your browser')
             ->setDefinition(array(
                 new InputArgument('package', InputArgument::REQUIRED, 'Package to goto'),