StackFormation\Command\AbstractCommand::run PHP Method

run() public method

public run ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    public function run(InputInterface $input, OutputInterface $output)
    {
        try {
            try {
                return parent::run($input, $output);
            } catch (CloudFormationException $exception) {
                throw Exception::refineException($exception);
            }
        } catch (StackNoUpdatesToBePerformedException $e) {
            $output->writeln('No updates are to be performed.');
            return 0;
            // exit code
        }
    }