diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index 53124bb2..3ff8ec7d 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -27,15 +27,13 @@ class InstallCommand extends Command */ public function handle() { - // if ($this->option('services')) { - // $services = $this->option('services') == 'none' ? [] : explode(',', $this->option('services')); - // } elseif ($this->option('no-interaction')) { - // $services = ['mysql', 'redis', 'selenium', 'mailhog']; - // } else { - // $services = $this->gatherServicesWithSymfonyMenu(); - // } - - $services = ['mysql', 'redis', 'selenium', 'mailhog']; + if ($this->option('services')) { + $services = $this->option('services') == 'none' ? [] : explode(',', $this->option('services')); + } elseif ($this->option('no-interaction')) { + $services = ['mysql', 'redis', 'selenium', 'mailhog']; + } else { + $services = $this->gatherServicesWithSymfonyMenu(); + } $this->buildDockerCompose($services); $this->replaceEnvVariables($services);