protected function configure()
{
$this->setName('generate:post')->setDescription('Generate a new post')->setDefinition(array(new InputArgument('title', InputArgument::REQUIRED, 'The title'), new InputOption('--date', null, InputOption::VALUE_REQUIRED, 'Date (format: YYYY-MM-DD', $this->defaultDate)));
}