@@ -32,8 +32,8 @@ |
||
| 32 | 32 | $this->setDescription('Installs tools'); |
| 33 | 33 | $this->addOption('dry-run', null, InputOption::VALUE_NONE, 'Output the command without executing it'); |
| 34 | 34 | $this->addOption('target-dir', null, InputOption::VALUE_REQUIRED, 'The target installation directory', $this->defaultTargetDir()); |
| 35 | - $this->addOption('exclude-tag', 'e', InputOption::VALUE_REQUIRED|InputOption::VALUE_IS_ARRAY, 'Tool tags to exclude'); |
|
| 36 | - $this->addOption('tag', 't', InputOption::VALUE_REQUIRED|InputOption::VALUE_IS_ARRAY, 'Tool tags to filter by'); |
|
| 35 | + $this->addOption('exclude-tag', 'e', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Tool tags to exclude'); |
|
| 36 | + $this->addOption('tag', 't', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Tool tags to filter by'); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | protected function execute(InputInterface $input, OutputInterface $output) |
@@ -32,8 +32,8 @@ |
||
| 32 | 32 | $this->setDescription('Runs basic tests to verify tools are installed'); |
| 33 | 33 | $this->addOption('dry-run', null, InputOption::VALUE_NONE, 'Output the command without executing it'); |
| 34 | 34 | $this->addOption('target-dir', null, InputOption::VALUE_REQUIRED, 'The target installation directory', $this->defaultTargetDir()); |
| 35 | - $this->addOption('exclude-tag', 'e', InputOption::VALUE_REQUIRED|InputOption::VALUE_IS_ARRAY, 'Tool tags to exclude'); |
|
| 36 | - $this->addOption('tag', 't', InputOption::VALUE_REQUIRED|InputOption::VALUE_IS_ARRAY, 'Tool tags to filter by'); |
|
| 35 | + $this->addOption('exclude-tag', 'e', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Tool tags to exclude'); |
|
| 36 | + $this->addOption('tag', 't', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Tool tags to filter by'); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | protected function execute(InputInterface $input, OutputInterface $output) |
@@ -28,8 +28,8 @@ |
||
| 28 | 28 | protected function configure() |
| 29 | 29 | { |
| 30 | 30 | $this->setDescription('Lists available tools'); |
| 31 | - $this->addOption('exclude-tag', 'e', InputOption::VALUE_REQUIRED|InputOption::VALUE_IS_ARRAY, 'Tool tags to exclude'); |
|
| 32 | - $this->addOption('tag', 't', InputOption::VALUE_REQUIRED|InputOption::VALUE_IS_ARRAY, 'Tool tags to filter by'); |
|
| 31 | + $this->addOption('exclude-tag', 'e', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Tool tags to exclude'); |
|
| 32 | + $this->addOption('tag', 't', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Tool tags to filter by'); |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | protected function execute(InputInterface $input, OutputInterface $output) |