Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | protected function execute(InputInterface $input, OutputInterface $output) |
||
29 | { |
||
30 | $name = $input->getArgument('name'); |
||
31 | $pathOrUrl = $input->getArgument('to'); |
||
32 | |||
33 | $status = $this->composerLink(Str::snake($name), $pathOrUrl); |
||
34 | |||
35 | if ($status) { |
||
36 | $output->writeln('<info>Packaged linked.</info>'); |
||
37 | } else { |
||
38 | $output->writeln('<comment>Unable to link the package.</comment>'); |
||
39 | } |
||
42 |