Explorar el Código

Add alias of run-script command

Nguyễn Xuân Quỳnh hace 6 años
padre
commit
bcff704bc5
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/Composer/Command/RunScriptCommand.php

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

@@ -48,6 +48,7 @@ class RunScriptCommand extends BaseCommand
     {
         $this
             ->setName('run-script')
+            ->setAliases(array('run'))
             ->setDescription('Runs the scripts defined in composer.json.')
             ->setDefinition(array(
                 new InputArgument('script', InputArgument::OPTIONAL, 'Script name to run.'),