@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use Composer\EventDispatcher\EventSubscriberInterface; |
| 9 | 9 | use Composer\Factory; |
| 10 | 10 | use Composer\IO\IOInterface; |
| 11 | -use Composer\Package\PackageInterface; |
|
| 12 | 11 | use Composer\Plugin\Capability\CommandProvider; |
| 13 | 12 | use Composer\Plugin\Capable; |
| 14 | 13 | use Composer\Plugin\PluginInterface; |
@@ -18,9 +18,9 @@ |
||
| 18 | 18 | protected function configure() |
| 19 | 19 | { |
| 20 | 20 | $this->setName('discovery:list') |
| 21 | - ->setDescription('List the values of the asset type passed in parameter (or list all asset types if no parameter is passed)') |
|
| 22 | - ->addArgument('asset-type', InputArgument::OPTIONAL, 'The asset type to list') |
|
| 23 | - ->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (txt or json)', 'txt'); |
|
| 21 | + ->setDescription('List the values of the asset type passed in parameter (or list all asset types if no parameter is passed)') |
|
| 22 | + ->addArgument('asset-type', InputArgument::OPTIONAL, 'The asset type to list') |
|
| 23 | + ->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (txt or json)', 'txt'); |
|
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | protected function execute(InputInterface $input, OutputInterface $output) |