Newscoop\Tools\Console\Command\GenerateWebcodeCommand::configure PHP Method

configure() protected method

See also: Console\Command\Command
protected configure ( )
    protected function configure()
    {
        $this->setName('webcode:generate')->setDescription('Generates webcodes for articles without it.')->addArgument('number', InputArgument::OPTIONAL, 'Article number range to start from, e.g. 300', 1)->addOption('clear', null, InputOption::VALUE_NONE, 'If set, clears indexes. Use this first time.');
    }