Update command name, add alias

This commit is contained in:
Oliver Davies 2018-07-26 08:58:41 +01:00
parent f6816ec47f
commit 3ee67e4e6c

View file

@ -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');
}