Carew\Command\GeneratePost::configure PHP Method

configure() protected method

protected configure ( )
    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)));
    }