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

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('generate:widget')->setDescription('Adds a plugin widget class to an existing plugin')->addOption('pluginname', null, InputOption::VALUE_REQUIRED, 'The name of an existing plugin which does not have any widgets defined yet')->addOption('widgetname', null, InputOption::VALUE_REQUIRED, 'The name of the widget you want to create')->addOption('category', null, InputOption::VALUE_REQUIRED, 'The name of the category the widget should belong to');
    }