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