Browse Source

Merge pull request #7909 from xuanquynh/add_alias_of_run_script_command

Add alias of run-script command
Jordi Boggiano 6 years ago
parent
commit
455b904267
1 changed files with 1 additions and 0 deletions
  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.'),