protected function configure() { parent::configure(); $this->setDescription('Vagrant Commands'); if ($this->getName() == $this->vagrant . ':' . self::ssh) { $this->addOption('ssh_command', null, InputOption::VALUE_OPTIONAL); $this->addOption('ssh_command_arguments', null, InputOption::VALUE_IS_ARRAY | InputOption::VALUE_OPTIONAL); $this->addOption('ssh_command_options', null, InputOption::VALUE_IS_ARRAY | InputOption::VALUE_OPTIONAL); } }
protected function configure() { $this->setName($this->vagrant_ssh . ':' . $this->command->getName())->setDescription('Vagrant SSH ' . $this->command->getDescription())->setDefinition($this->command->getDefinition()); parent::configure(); }