From 922ee0c07288a6e0ea1611f4e9952470fb743a34 Mon Sep 17 00:00:00 2001 From: acidaniel Date: Thu, 13 Jul 2017 02:07:28 -0500 Subject: [PATCH] Adding Override Aliases and add aliases to chain command. (#191) --- config/dist/aliases.yml | 33 ++++++++++++++++++++++++++++++ src/Command/Debug/ChainCommand.php | 3 ++- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/config/dist/aliases.yml b/config/dist/aliases.yml index 018e1b6..b24f731 100644 --- a/config/dist/aliases.yml +++ b/config/dist/aliases.yml @@ -2,3 +2,36 @@ commands: aliases: debug:container: - cod + config:edit: + - cdit + cron:execute: + - cre + cron:release: + - crr + database:log:clear: + - dbc + debug:module: + - mod + debug:multisite: + - msd + debug:router: + - rod + debug:theme: + - tde + debug:update: + - upd + multisite:new: + - sn + router:rebuild: + - ror + user:login:clear:attempts: + - uslca + user:login:url: + - usli + user:password:hash: + - usph + user:password:reset: + - upsr + views:disable: + - vdi + diff --git a/src/Command/Debug/ChainCommand.php b/src/Command/Debug/ChainCommand.php index 7899ca7..0fb26c1 100644 --- a/src/Command/Debug/ChainCommand.php +++ b/src/Command/Debug/ChainCommand.php @@ -48,7 +48,8 @@ protected function configure() { $this ->setName('debug:chain') - ->setDescription($this->trans('commands.debug.chain.description')); + ->setDescription($this->trans('commands.debug.chain.description')) + ->setAliases(['dch']); } /**