/**
  * {@inheritdoc}
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $name = $input->getArgument('name');
     if (!$input->getOption('really')) {
         throw new InvalidArgumentException('Will not delete a stack without the "--really" flag');
     }
     $stack = $this->apiStackMapper->create($name);
     $this->stackManager->delete($stack);
 }
 /**
  * {@inheritdoc}
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $name = $input->getArgument('name');
     $scalingProfile = $input->getOption('scaling-profile');
     $stackA = $this->apiStackMapper->create($name);
     $stackB = $this->configStackMapper->create($stackA->getTemplate()->getName(), $stackA->getEnvironment(), $scalingProfile, $name);
     $output->writeLn('<info>Changes to the CloudFormation parameters:</info>');
     $output->write($this->coloriseUnifiedDiff($this->stackComparisonService->compareParameters($stackA->getParameters(), $stackB->getParameters())));
     $output->writeLn('<info>Changes to the CloudFormation template:</info>');
     $output->write($this->coloriseUnifiedDiff($this->stackComparisonService->compareTemplate($stackA->getTemplate(), $stackB->getTemplate())));
 }