protected function executeWithStack(Stack $stack, InputInterface $input, OutputInterface $output) { $blueprint = $this->blueprintFactory->getBlueprintByStack($stack); $diff = new Diff($output); $diff->setStack($stack)->setBlueprint($blueprint); $formatter = new FormatterHelper(); $output->writeln("\n" . $formatter->formatBlock(['Parameters:'], 'error', true) . "\n"); $diff->diffParameters(); $output->writeln("\n" . $formatter->formatBlock(['Template:'], 'error', true) . "\n"); $diff->diffTemplates(); }