diff --git a/app/Commands/InitCommand.php b/app/Commands/InitCommand.php index b751d98..9650165 100644 --- a/app/Commands/InitCommand.php +++ b/app/Commands/InitCommand.php @@ -70,6 +70,11 @@ public function handle(Ploi $ploi, Configuration $configuration) $configuration->initialize($serverId, $siteId, getcwd(), $domain); + if(isset($selectedDomain)) { + $this->info("Your project got linked to {$domain}!"); + exit(0); + } + $gitRepo = $this->getGitRepositoryUrl(); if (Str::startsWith($gitRepo, 'fatal')) { $this->error('This site is no git repository!');