From bcff704bc52efc22be7f74a8a62145ea924250e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Xu=C3=A2n=20Qu=E1=BB=B3nh?= Date: Sun, 20 Jan 2019 12:46:13 +0700 Subject: [PATCH] Add alias of run-script command --- src/Composer/Command/RunScriptCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Composer/Command/RunScriptCommand.php b/src/Composer/Command/RunScriptCommand.php index ea3b5c892..7997dfb37 100644 --- a/src/Composer/Command/RunScriptCommand.php +++ b/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.'),