@@ -11,17 +11,9 @@ |
||
| 11 | 11 | use Deployer\Exception\Exception; |
| 12 | 12 | use Deployer\Exception\GracefulShutdownException; |
| 13 | 13 | use Deployer\Executor\Planner; |
| 14 | -use Deployer\Host\Host; |
|
| 15 | -use Deployer\Host\Localhost; |
|
| 16 | -use Symfony\Component\Console\Command\Command; |
|
| 17 | -use Symfony\Component\Console\Formatter\OutputFormatterStyle; |
|
| 18 | -use Symfony\Component\Console\Helper\QuestionHelper; |
|
| 19 | -use Symfony\Component\Console\Helper\Table; |
|
| 20 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 21 | 14 | use Symfony\Component\Console\Input\InputInterface as Input; |
| 22 | 15 | use Symfony\Component\Console\Input\InputOption as Option; |
| 23 | 16 | use Symfony\Component\Console\Output\OutputInterface as Output; |
| 24 | -use Symfony\Component\Console\Question\ChoiceQuestion; |
|
| 25 | 17 | |
| 26 | 18 | class MainCommand extends SelectCommand |
| 27 | 19 | { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | namespace Deployer\Console; |
| 9 | 9 | |
| 10 | 10 | use Deployer\Deployer; |
| 11 | -use Deployer\Host\Host; |
|
| 12 | 11 | use Deployer\Host\Localhost; |
| 13 | 12 | use Deployer\Task\Context; |
| 14 | 13 | use Symfony\Component\Console\Command\Command; |
@@ -7,11 +7,9 @@ |
||
| 7 | 7 | |
| 8 | 8 | namespace Deployer\Console; |
| 9 | 9 | |
| 10 | -use Deployer\Collection\PersistentCollection; |
|
| 11 | 10 | use Deployer\Deployer; |
| 12 | 11 | use Deployer\Exception\Exception; |
| 13 | 12 | use Deployer\Exception\GracefulShutdownException; |
| 14 | -use Deployer\Exception\NonFatalException; |
|
| 15 | 13 | use Deployer\Task\Context; |
| 16 | 14 | use Symfony\Component\Console\Input\InputArgument; |
| 17 | 15 | use Symfony\Component\Console\Input\InputInterface; |
@@ -93,6 +93,7 @@ |
||
| 93 | 93 | /** |
| 94 | 94 | * @param Task[] $tasks |
| 95 | 95 | * @param Host[] $hosts |
| 96 | + * @param Planner $plan |
|
| 96 | 97 | */ |
| 97 | 98 | public function run(array $tasks, array $hosts, $plan = null): int |
| 98 | 99 | { |
@@ -7,7 +7,6 @@ discard block |
||
| 7 | 7 | |
| 8 | 8 | namespace Deployer\Executor; |
| 9 | 9 | |
| 10 | -use Deployer\Collection\PersistentCollection; |
|
| 11 | 10 | use Deployer\Configuration\Configuration; |
| 12 | 11 | use Deployer\Console\Application; |
| 13 | 12 | use Deployer\Deployer; |
@@ -15,12 +14,10 @@ discard block |
||
| 15 | 14 | use Deployer\Exception\GracefulShutdownException; |
| 16 | 15 | use Deployer\Host\Host; |
| 17 | 16 | use Deployer\Host\Localhost; |
| 18 | -use Deployer\Host\Storage; |
|
| 19 | 17 | use Deployer\Component\Ssh\Client; |
| 20 | 18 | use Deployer\Selector\Selector; |
| 21 | 19 | use Deployer\Task\Context; |
| 22 | 20 | use Deployer\Task\Task; |
| 23 | -use Symfony\Component\Console\Helper\Table; |
|
| 24 | 21 | use Symfony\Component\Console\Input\InputInterface; |
| 25 | 22 | use Symfony\Component\Console\Output\OutputInterface; |
| 26 | 23 | use Symfony\Component\Process\Process; |