#!/usr/bin/env php getMessage(); exit(1); } try { $application = new Symfony\Component\Console\Application(); $application->setName('Magento Functional Testing Framework CLI'); $application->setVersion('2.3.14'); /** @var \Magento\FunctionalTestingFramework\Console\CommandListInterface $commandList */ $commandList = new \Magento\FunctionalTestingFramework\Console\CommandList; foreach ($commandList->getCommands() as $command) { $application->add($command); } $application->run(); } catch (\Exception $e) { while ($e) { echo $e->getMessage(); echo $e->getTraceAsString(); echo "\n\n"; $e = $e->getPrevious(); } exit(1); }