protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->input = $input;
        $this->output = $output;
        $configurationPath = $input->getOption('configurationPath');
        $deploymentName = $input->getArgument('deploymentName');
        $deployment = $this->factory->getDeployment($deploymentName, $configurationPath);
        $workflow = $deployment->getWorkflow();

        if (! $deployment instanceof FailedDeployment) {
            $output->writeln('<success>Deployment ' . $deployment->getName() . '</success>');
            $output->writeln('');
            $output->writeln('Workflow: <success>' . $workflow->getName() . '</success>');

            if ($workflow instanceof SimpleWorkflow) {
                $value = $workflow->isEnableRollback() ? 'true' : 'false';
                $output->writeln('    <comment>Rollback enabled:</comment> <info>' . $value . '</info>');
            }

            $output->writeln('');

            $this->printNodes($deployment->getNodes());

            $this->printApplications($deployment->getApplications(), $deployment->getWorkflow());
        }
    }
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->input = $input;
        $this->output = $output;
        $configurationPath = $input->getOption('configurationPath');
        $deploymentName = $input->getArgument('deploymentName');
        $deployment = $this->factory->getDeployment($deploymentName, $configurationPath);
        $workflow = $deployment->getWorkflow();

        if (! $deployment instanceof FailedDeployment) {
            $output->writeln('<success>Deployment ' . $deployment->getName() . '</success>');
            $output->writeln('');
            $output->writeln('Workflow: <success>' . $workflow->getName() . '</success>');

            if ($workflow instanceof SimpleWorkflow) {
                $value = $workflow->isEnableRollback() ? 'true' : 'false';
                $output->writeln('    <comment>Rollback enabled:</comment> <info>' . $value . '</info>');
            }

            $output->writeln('');

            $this->printNodes($deployment->getNodes());

            $this->printApplications($deployment->getApplications(), $deployment->getWorkflow());
        }
    }
protected function execute ( InputInterface $ input , OutputInterface $ output ) { $ this -> input = $ input ; $ this -> output = $ output ; $ configurationPath = $ input -> getOption ( 'configurationPath' ) ; $ deploymentName = $ input -> getArgument ( 'deploymentName' ) ; $ deployment = $ this -> factory -> getDeployment ( $ deploymentName , $ configurationPath ) ; $ workflow = $ deployment -> getWorkflow ( ) ; if ( ! $ deployment instanceof FailedDeployment ) { $ output -> writeln ( '<success>Deployment ' . $ deployment -> getName ( ) . '</success>' ) ; $ output -> writeln ( '' ) ; $ output -> writeln ( 'Workflow: <success>' . $ workflow -> getName ( ) . '</success>' ) ; if ( $ workflow instanceof SimpleWorkflow ) { $ value = $ workflow -> isEnableRollback ( ) ? 'true' : 'false' ; $ output -> writeln ( '    <comment>Rollback enabled:</comment> <info>' . $ value . '</info>' ) ; } $ output -> writeln ( '' ) ; $ this -> printNodes ( $ deployment -> getNodes ( ) ) ; $ this -> printApplications ( $ deployment -> getApplications ( ) , $ deployment -> getWorkflow ( ) ) ; } }
Prints configuration for the

@param InputInterface $input
@param OutputInterface $output
Prints configuration for the