Hypernode\Magento\Command\Hypernode\Performance\PerformanceCommand::configure PHP Method

configure() protected method

Configure Command
protected configure ( )
    protected function configure()
    {
        $this->setName('hypernode:performance')->setDescription('Generate a performance report based on sitemaps.')->addOption('sitemap', null, InputOption::VALUE_OPTIONAL, '(string) path or URL.', false)->addOption('current-url', null, InputOption::VALUE_OPTIONAL, 'Url of current instance. (needle for replacement)', false)->addOption('compare-url', null, InputOption::VALUE_OPTIONAL, 'The URL to compare with.', false)->addOption('silent', null, InputOption::VALUE_NONE, 'Disables all messages, outputs results in JSON.', null)->addOption('format', null, InputOption::VALUE_OPTIONAL, 'Format for file output result [' . implode(',', RendererFactory::getFormats()) . '] (default console table)', false)->addOption('limit', null, InputOption::VALUE_OPTIONAL, 'Limits the amount of requests to curl.', false)->addOption('totaltime', null, InputOption::VALUE_NONE, 'Measure total time instead of TTFB. Note: TTFB labels are not adjusted.');
    }