| Conditions | 5 |
| Paths | 5 |
| Total Lines | 20 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | use Symfony\Component\Console\Output\OutputInterface; |
||
| 8 | use Padawan\Framework\Application\CLI\Command as CliCommand; |
||
| 9 | use Padawan\Plugin\Package; |
||
| 10 | |||
| 11 | class PluginCommand extends CliCommand |
||
| 12 | { |
||
| 13 | protected function configure() |
||
| 14 | { |
||
| 15 | $this->setName("plugin") |
||
| 16 | ->setDescription("Manages plugins for your project") |
||
| 17 | ->addArgument( |
||
| 18 | "command_name", |
||
| 19 | InputArgument::REQUIRED, |
||
| 20 | "Command to execute. Can be add or remove" |
||
| 21 | )->addArgument( |
||
| 22 | "plugin_name", |
||
| 23 | InputArgument::REQUIRED, |
||
| 24 | "Plugin to work with" |
||
| 25 | ); |
||
| 26 | } |
||
| 27 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 48 |