Piwik\Plugins\CoreConsole\Commands\GenerateReport::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('generate:report')->setDescription('Adds a new report to an existing plugin')->addOption('pluginname', null, InputOption::VALUE_REQUIRED, 'The name of an existing plugin which does not have a menu defined yet')->addOption('reportname', null, InputOption::VALUE_REQUIRED, 'The name of the report you want to create')->addOption('category', null, InputOption::VALUE_REQUIRED, 'The name of the category the report belongs to')->addOption('dimension', null, InputOption::VALUE_OPTIONAL, 'The name of the dimension in case your report has a dimension')->addOption('documentation', null, InputOption::VALUE_REQUIRED, 'A documentation that explains what your report is about');
    }