From 3ee67e4e6c73e7e5ae5f8afbcc6797087079bc94 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 26 Jul 2018 08:58:41 +0100 Subject: [PATCH] Update command name, add alias --- src/WebsiteBundle/Command/NewTalkCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/WebsiteBundle/Command/NewTalkCommand.php b/src/WebsiteBundle/Command/NewTalkCommand.php index 9587f382..baadc8a3 100644 --- a/src/WebsiteBundle/Command/NewTalkCommand.php +++ b/src/WebsiteBundle/Command/NewTalkCommand.php @@ -17,7 +17,8 @@ class NewTalkCommand extends ContainerAwareCommand */ protected function configure() { - $this->setName('content:new:talk') + $this->setName('website:new:talk') + ->setAliases(['new-talk']) ->setDescription('Create a new talk') ->addArgument('title', InputArgument::REQUIRED, 'The title of the post'); }