protected function execute(InputInterface $input, OutputInterface $output)
{
$this->_input = $input;
$this->_output = $output;
$this->detectMagento($output, true);
$this->initMagento();
for ($i = 1; $i <= $input->getArgument('count'); $i++) {
echo "{$i}. ";
try {
$this->_createOrder();
} catch (\Exception $e) {
$this->_output->writeln("<error>Problem creating order: " . $e->getMessage() . "</error>");
}
$this->_resetEverything();
}
}