/**
  * Handle the command.
  *
  * @param ApplicationRepository $applications
  */
 public function handle(ApplicationRepository $applications)
 {
     if ($applications->findByDomain(env('APPLICATION_DOMAIN'))) {
         return;
     }
     $applications->create(['name' => env('APPLICATION_NAME'), 'reference' => env('APPLICATION_REFERENCE'), 'domain' => env('APPLICATION_DOMAIN'), 'enabled' => true]);
 }