licenseService->getStatus(); if ($status->hasNoLicense()) { $this->components->warn('No active Plus license found.'); return self::SUCCESS; } if (!$this->confirm('Are you sure you want to deactivate your Koel Plus license?')) { $this->output->warning('License deactivation aborted.'); return self::SUCCESS; } $this->components->info('Deactivating your licenseā€¦'); try { $this->licenseService->deactivate($status->license); $this->components->info('Koel Plus has been deactivated. Plus features are now disabled.'); return self::SUCCESS; } catch (Throwable $e) { $this->components->error('Failed to deactivate Koel Plus: ' . $e->getMessage()); return self::FAILURE; } } }