@@ -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): int |
@@ -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): int |
@@ -40,7 +40,7 @@ |
||
40 | 40 | * @throws ContainerExceptionInterface |
41 | 41 | * @throws NotFoundExceptionInterface |
42 | 42 | */ |
43 | - private function createRealRunner(): DryRunner|PassthruRunner |
|
43 | + private function createRealRunner(): DryRunner | PassthruRunner |
|
44 | 44 | { |
45 | 45 | if ($this->container->get(InputInterface::class)->getOption('dry-run')) { |
46 | 46 | return new DryRunner($this->container->get(OutputInterface::class)); |
@@ -30,8 +30,8 @@ |
||
30 | 30 | protected function configure(): void |
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): int |