src/Command/CloudFoundry/DeployCommand.php 1 location
|
@@ 144-154 (lines=11) @@
|
141 |
|
); |
142 |
|
} |
143 |
|
|
144 |
|
if (true == $noLogout) { |
145 |
|
$output->writeln( |
146 |
|
'<bg=yellow;fg=black;options=bold>'. |
147 |
|
' '.PHP_EOL. |
148 |
|
' Cloud Foundry session will not be closed (»no-logout« option was set) ! '. |
149 |
|
PHP_EOL.' '. |
150 |
|
'</bg=yellow;fg=black;options=bold>' |
151 |
|
); |
152 |
|
|
153 |
|
return; |
154 |
|
} |
155 |
|
|
156 |
|
DeploymentUtils::logout($this->deployHandler, $output, $this->configuration); |
157 |
|
} |
src/Command/CloudFoundry/RunCommand.php 1 location
|
@@ 93-103 (lines=11) @@
|
90 |
|
$applicationName |
91 |
|
); |
92 |
|
$noLogout = $input->getOption('no-logout'); |
93 |
|
if (true == $noLogout) { |
94 |
|
$output->writeln( |
95 |
|
'<bg=yellow;fg=black;options=bold>' . |
96 |
|
' ' . PHP_EOL . |
97 |
|
' Cloud Foundry session will not be closed (»no-logout« option was set) ! ' . |
98 |
|
PHP_EOL . ' ' . |
99 |
|
'</bg=yellow;fg=black;options=bold>' |
100 |
|
); |
101 |
|
|
102 |
|
return; |
103 |
|
} |
104 |
|
DeploymentUtils::logout($this->deployHandler, $output, $this->configuration); |
105 |
|
} |
106 |
|
} |