| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function execute(InputInterface $input, OutputInterface $output) |
||
| 35 | { |
||
| 36 | $registryName = $input->getArgument('registry-name'); |
||
| 37 | //Remove registry & dump to config file |
||
| 38 | $this->getManager()->removeRegistry($registryName); |
||
| 39 | $this->getManager()->dumpRepositoriesToFile(ConfigPath::getUserConfigFile()); |
||
| 40 | |||
| 41 | $output->writeln("<info>Remove registry [{$registryName}] success</info>"); |
||
| 42 | } |
||
| 43 | } |
||
| 44 |