Explorar el Código

rename command

Robert Schönthal hace 11 años
padre
commit
3a1edd3776
Se han modificado 1 ficheros con 2 adiciones y 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'),