Refactor init command to use full-cleanup option
This commit is contained in:
parent
6acc0e6025
commit
48b4c17391
@ -20,9 +20,9 @@ class Init extends Command
|
|||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
$this->alive();
|
$this->alive();
|
||||||
$init = $this->option('init');
|
$full_cleanup = $this->option('full-cleanup');
|
||||||
if ($init) {
|
if ($full_cleanup) {
|
||||||
echo "Running init cleanups.\n";
|
echo "Running init cleanupsg.\n";
|
||||||
|
|
||||||
// Required for falsely deleted coolify db
|
// Required for falsely deleted coolify db
|
||||||
$this->restore_coolify_db_backup();
|
$this->restore_coolify_db_backup();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user