Ejemplo n.º 1
0
 /**
  * {@inheritDoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('create')->setDescription('Create new virtPHP environment.')->addArgument('env-name', InputArgument::REQUIRED, 'What is the name of your new environment?')->addOption('php-bin-dir', null, InputOption::VALUE_REQUIRED, 'Path to the bin directory for the version of PHP you want to wrap.', null)->addOption('install-path', null, InputOption::VALUE_REQUIRED, 'Base path to install the virtual environment into (do not include the environment name).', null)->addOption('php-ini', null, InputOption::VALUE_REQUIRED, 'Path to a specific php.ini to use - ' . 'WARNING: the include_path and extension_dir WILL BE OVERRIDDEN!', null)->addOption('pear-conf', null, InputOption::VALUE_REQUIRED, 'Path to a specific pear.conf file to use - ' . 'WARNING: many of the directory paths in this ' . 'file WILL BE OVERRIDDEN in order for virtPHP to work!', null);
 }
Ejemplo n.º 2
0
 /**
  * {@inheritDoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('destroy')->setDescription('Destroy an existing virtual environment.')->addArgument('env-path', InputArgument::REQUIRED, 'Please specify the path to the virtual environment you want to destroy.');
 }