components->info('Activating licenseā€¦'); try { $license = $this->licenseService->activateLicense($this->argument('key')); } catch (Throwable $e) { $this->components->error($e->getMessage()); return self::FAILURE; } $this->output->success('License activated successfully. Thanks for supporting Koel!'); $this->components->twoColumnDetail('License Key', $license->short_key); $this->components->twoColumnDetail( 'Registered To', "{$license->meta->customerName} <{$license->meta->customerEmail}>" ); $this->components->twoColumnDetail('Expires On', 'Never ever'); $this->newLine(); return self::SUCCESS; } }