Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 24, 2021
1 parent a317a1a commit 0200ce6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class InstallCommand extends Command
*
* @var string
*/
protected $signature = 'sail:install {--services= : The services that should be included in the installation}';
protected $signature = 'sail:install {--with= : The services that should be included in the installation}';

/**
* The console command description.
Expand All @@ -27,8 +27,8 @@ class InstallCommand extends Command
*/
public function handle()
{
if ($this->option('services')) {
$services = $this->option('services') == 'none' ? [] : explode(',', $this->option('services'));
if ($this->option('with')) {
$services = $this->option('with') == 'none' ? [] : explode(',', $this->option('with'));
} elseif ($this->option('no-interaction')) {
$services = ['mysql', 'redis', 'selenium', 'mailhog'];
} else {
Expand Down

0 comments on commit 0200ce6

Please sign in to comment.