@@ -90,6 +90,9 @@ |
||
| 90 | 90 | $this->cli->green('Uninstalled Successfully!'); |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | + /** |
|
| 94 | + * @param string $command |
|
| 95 | + */ |
|
| 93 | 96 | private function getDefinition(Site $site, $command) |
| 94 | 97 | { |
| 95 | 98 | /** @var \Buttress\Concrete\Console\Command\Manager\CommandManager[] $definitions */ |
@@ -2,10 +2,10 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | namespace Buttress\Concrete\Console; |
| 4 | 4 | |
| 5 | -use Buttress\Concrete\Console\Command\CacheCommand; |
|
| 6 | 5 | use Buttress\Concrete\CommandBus\Command\HandlerLocator; |
| 7 | 6 | use Buttress\Concrete\CommandBus\Provider\LegacyProvider; |
| 8 | 7 | use Buttress\Concrete\CommandBus\Provider\ModernProvider; |
| 8 | +use Buttress\Concrete\Console\Command\CacheCommand; |
|
| 9 | 9 | use Buttress\Concrete\Console\Command\Collection\Collection; |
| 10 | 10 | use Buttress\Concrete\Console\Command\HelpCommand; |
| 11 | 11 | use Buttress\Concrete\Console\Command\PackageCommand; |
@@ -16,7 +16,6 @@ discard block |
||
| 16 | 16 | use Buttress\Concrete\Route\Dispatcher; |
| 17 | 17 | use Buttress\Concrete\Route\RouteCollector; |
| 18 | 18 | use League\CLImate\CLImate; |
| 19 | -use League\Tactician\Exception\MissingHandlerException; |
|
| 20 | 19 | use Psr\Container\ContainerInterface; |
| 21 | 20 | |
| 22 | 21 | /** |