Liuggio\Fastest\Command\ParallelCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('fastest')->setDescription('Consume the element parallel.')->addArgument('execute', InputArgument::OPTIONAL, 'Optional command to execute.')->addOption('process', 'p', InputOption::VALUE_REQUIRED, 'Number of parallel processes, default: available CPUs.')->addOption('before', 'b', InputOption::VALUE_REQUIRED, 'Execute a process before consuming the queue, it executes this command once per process, useful for init schema and load fixtures.')->addOption('xml', 'x', InputOption::VALUE_REQUIRED, 'Read input from a phpunit xml file from the \'<testsuites>\' collection. Note: it is not used for consuming.')->addOption('preserve-order', 'o', InputOption::VALUE_NONE, 'Queue is randomized by default, with this option the queue is read preserving the order.')->addOption('rerun-failed', 'r', InputOption::VALUE_NONE, 'Re-run failed test with before command if exists.')->addOption('no-errors-summary', null, InputOption::VALUE_NONE, 'Do not display all errors after the test run. Useful with --vv because it already displays errors immediately after they happen.');
    }