Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Refactor init command to use full-cleanup option

Andras Bacsai48b4c1739132
diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.php
index 03236dd99e..0389ad0709 100644
--- a/app/Console/Commands/Init.php
+++ b/app/Console/Commands/Init.php
@@ -20,9 +20,9 @@ class Init extends Command
public function handle()
{
$this->alive();
- $init = $this->option('init');
- if ($init) {
- echo "Running init cleanups.\n";
+ $full_cleanup = $this->option('full-cleanup');
+ if ($full_cleanup) {
+ echo "Running init cleanupsg.\n";
// Required for falsely deleted coolify db
$this->restore_coolify_db_backup();