Преглед изворни кода

Merge pull request #7909 from xuanquynh/add_alias_of_run_script_command

Add alias of run-script command
Jordi Boggiano пре 6 година
родитељ
комит
455b904267
1 измењених фајлова са 1 додато и 0 уклоњено
  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.'),