/** * @param InputInterface $input * @param OutputInterface $output * @return \Magestead\Installers\Magento2Project|\Magestead\Installers\MagentoProject * @throws ExistingProjectException */ protected function execute(InputInterface $input, OutputInterface $output) { $project = $this->setProject($input); $helper = $this->getHelper('question'); $options = (new Options($helper, $input, $output, $project))->getAllOptions(); $this->setupProject($output, $options); $output->writeln('<info>Spinning up your custom box</info>'); new ProcessCommand('vagrant up', $this->_projectPath, $output); return Project::create($options, $this->_msConfig, $this->_projectPath, $output); }