@@ -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) |
@@ -19,7 +19,7 @@ |
||
19 | 19 | protected function configure() |
20 | 20 | { |
21 | 21 | $this->setName('discovery:dump') |
22 | - ->setDescription('Regenerates the Discovery class (in the .discovery folder). This is automatically triggered on install and update.'); |
|
22 | + ->setDescription('Regenerates the Discovery class (in the .discovery folder). This is automatically triggered on install and update.'); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | protected function execute(InputInterface $input, OutputInterface $output) |
@@ -22,10 +22,10 @@ |
||
22 | 22 | protected function configure() |
23 | 23 | { |
24 | 24 | $this->setName('discovery:add') |
25 | - ->setDescription('Add an asset') |
|
26 | - ->addArgument('asset-type', InputArgument::REQUIRED, 'The asset type') |
|
27 | - ->addArgument('value', InputArgument::REQUIRED, 'The asset to add') |
|
28 | - ->addOption('priority', 'p', InputOption::VALUE_REQUIRED, 'The priority', 0.0); |
|
25 | + ->setDescription('Add an asset') |
|
26 | + ->addArgument('asset-type', InputArgument::REQUIRED, 'The asset type') |
|
27 | + ->addArgument('value', InputArgument::REQUIRED, 'The asset to add') |
|
28 | + ->addOption('priority', 'p', InputOption::VALUE_REQUIRED, 'The priority', 0.0); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | protected function execute(InputInterface $input, OutputInterface $output) |
@@ -22,9 +22,9 @@ |
||
22 | 22 | protected function configure() |
23 | 23 | { |
24 | 24 | $this->setName('discovery:remove') |
25 | - ->setDescription('Remove an asset') |
|
26 | - ->addArgument('asset-type', InputArgument::REQUIRED, 'The asset type') |
|
27 | - ->addArgument('value', InputArgument::REQUIRED, 'The asset to remove'); |
|
25 | + ->setDescription('Remove an asset') |
|
26 | + ->addArgument('asset-type', InputArgument::REQUIRED, 'The asset type') |
|
27 | + ->addArgument('value', InputArgument::REQUIRED, 'The asset to remove'); |
|
28 | 28 | } |
29 | 29 | |
30 | 30 | protected function execute(InputInterface $input, OutputInterface $output) |