Execute the console command.

@return void
188803
public function handle()
    {
        if (parent::handle() === false) {
            return;
        }

        $providerFileName = $this->getPath($this->qualifyClass($this->getNameInput()));
        $this->files->put(//Replace the
            $providerFileName,
            str_replace(
                'DummyProviderFolder',
                str_replace('/', '\\', $this->convention->providersFolder()),
                $this->files->get($providerFileName)
            )
        );

        $name         = $this->getNameInput();
        $manifestPath = str_replace(
                sprintf('%s/ModuleServiceProvider.php', $this->convention->providersFolder()),
                $this->convention->manifestFile(),
                $this->getPath($this->getFQCNComp($name)
            )
        );

        if (!$this->files->exists($manifestPath)) {
            $this->makeDirectory($manifestPath);

            $this->files->put($manifestPath, $this->buildManifest($name));
        }
    }
293978
public function handle()
    {
        if ($this->option('all')) {
            $this->publishCommonViews();
            $this->publishAPIRoutes();
            $this->initAPIRoutes();
            $this->publishTemplates();
            $this->publishAppBaseController();
        } elseif ($this->option('templates')) {
            $this->publishTemplates();
        } elseif ($this->option('baseController')) {
            $this->publishAppBaseController();
        } else {
            $this->publishCommonViews();
            $this->publishAPIRoutes();
            $this->initAPIRoutes();
        }
    }
185731
public function handle()
    {
        if (! $this->preflighted()) return;

        $character_ids = User::doesntHave('refresh_token')
                ->select('id')
                ->where('id', '<>', 1)
                ->get()
                ->pluck('id');

        $character_ids->each(function ($character_id) {

            $character_info = $this->retrieve([
                'character_id' => $character_id,
            ]);

            if ($character_info->isCachedLoad()) return;

            CharacterInfo::firstOrNew(['character_id' => $character_id])->fill([
                'name'            => $character_info->name,
                'description'     => $character_info->optional('description'),
                'corporation_id'  => $character_info->corporation_id,
                'alliance_id'     => $character_info->optional('alliance_id'),
                'birthday'        => $character_info->birthday,
                'gender'          => $character_info->gender,
                'race_id'         => $character_info->race_id,
                'bloodline_id'    => $character_info->bloodline_id,
                'ancestry_id'    => $character_info->optional('ancestry_id'),
                'security_status' => $character_info->optional('security_status'),
                'faction_id'      => $character_info->optional('faction_id'),
            ])->save();
        });
    }
76345
public function handle()
    {
        $this->abortCommandExecution();

        $this->groups = $this->option('group') ? $this->argument('group') : $this->askForGroups();
        $this->assignGroupsToAssignment();
    }
437983
public function handle()
    {
        $this->module = $this->laravel['modules'];

        $name = $this->argument('module');

        if (!empty($name)) {
            $this->reset($name);

            return;
        }

        foreach ($this->module->getOrdered($this->option('direction')) as $module) {
            $this->line('Running for module: <info>' . $module->getName() . '</info>');

            $this->reset($module);
        }
    }
275098
public function handle()
    {
        $clear = $this->clearTransients();
        if($clear !== 0) {
            $this->error(Helpers::getLang(get_class($this), 'error', ['count' => $clear]));
            return;
        }
        $this->info(Helpers::getLang(get_class($this), 'success', []));
        return;
    }
828856
public function handle(): void
    {
        $this->translations = Translation::all();
        $this->translation_groups = TranslationGroup::all();
	    
        $this->getAllLanguagesFromTable();
        $this->generateLanguageFolders();
        $this->generateGroupFiles();
        $this->generateFileContentArray();
        $this->distributeArrayToFiles();
    }
1143649
public function handle()
    {
        try {
            $this->filesystem->make(
                $path = resource_path('views/' . $this->viewPath()),
                $this->filesystem->get($this->getStubPath()),
                true
            );
            $this->info('File ' . $path . ' created');
        } catch (\Exception $e) {
            $this->error($e->getMessage());
        }
    }
216378
public function handle()
    {
        $this->createDirectories();

        $this->exportViews();

        if (! $this->option('views')) {
            $this->exportControllers();
            $this->exportForms();
            $this->files->append(
                base_path('routes/web.php'),
                $this->files->get(__DIR__.'/stubs/make/routes.stub')
            );
        }

        $this->info('Authentication scaffolding generated successfully.');
    }
1003027
public function handle()
    {
        if (!$this->confirmToProceed()) {
            return;
        }

        $this->input->setOption('force', true);
        $this->input->setOption('database', $this->connection->tenantName());

        $this->processHandle(function (Website $website) {
            $this->dropAllTables(
                $database = $this->connection->tenantName()
            );

            $this->call('tenancy:migrate', [
                '--database' => $database,
                '--website_id' => [$website->id],
                '--path' => $this->option('path'),
                '--realpath' => $this->option('realpath'),
                '--force' => 1,
            ]);

            if ($this->needsSeeding()) {
                $this->call('tenancy:db:seed', [
                    '--database' => $database,
                    '--website_id' => [$website->id],
                    '--class' => $this->option('seeder'),
                    '--force' => 1,
                ]);
            }
        });
    }
1219047
public function handle()
    {
        if (!$this->confirmToProceed()) {
            return;
        }

        $this->migrator->setConnection($this->option('database'));
        
        $repository = modules()->location($this->option('location'));
        $paths      = $this->getMigrationPaths($repository);

        $this->migrator->setOutput($this->output)->rollback(
            $paths, ['pretend' => $this->option('pretend'), 'step' => (int)$this->option('step')]
        );
    }
1328179
public function handle()
    {
        $group = $this->argument('group');
        $json = $this->option('json');

        if (is_null($group) && !$json) {
            $this->warn('You must either specify a group argument or export as --json');

            return;
        }

        if (!is_null($group) && $json) {
            $this->warn('You cannot use both group argument and --json option at the same time');

            return;
        }

        $this->manager->exportTranslations($group, $json);

        if (!is_null($group)) {
            $this->info('Done writing language files for '.(($group == '*') ? 'ALL groups' : $group.' group'));
        } elseif ($json) {
            $this->info('Done writing JSON language files for translation strings');
        }
    }
1248483
public function handle(): void
    {
        $start = $this->argument('start');
        $end = $this->argument('end');
        $disk = $this->argument('disk');

        $resources = $this->resourceService->getRepository()->makeQuery()
            ->select('id', 'path', 'mime_type')
            ->setEagerLoads([])
            ->skip($start)
            ->take($end)
            ->get();

        foreach ($resources as $resource) {
            $this->resourceService->createPreviewThumb(
                $resource->id,
                $resource->path,
                $resource->mime_type,
                $disk,
                [],
                true
            );
        }
    }
635419
public function handle()
    {
        if ($this->shouldBeFailed()) {
            return;
        }

        $database = $this->config['database'] ?? null;
        $migrator = $this->resolveMigrator();

        if (! $this->shouldBeDelayed()) {
            $migrator->runReset($this->model, $database);

            $this->delete();
        }
    }
460577
public function handle()
    {
        $action = $this->getActionArgument(['add', 'update', 'delete']);

        foreach ($this->getCurrencyArgument() as $currency) {
            $this->$action(strtoupper($currency));
        }
    }
407121
public function handle()
    {
        $translationFiles = $this->manager->files();

        $this->syncKeysFromFiles($translationFiles);

        $this->syncKeysBetweenLanguages($translationFiles);

        $this->info('Done!');
    }
757931
public function handle()
    {
        $name = $this->argument('module');

        if ($name) {
            $this->updateModule($name);

            return;
        }

        /** @var \Nwidart\Modules\Module $module */
        foreach ($this->laravel['modules']->getOrdered() as $module) {
            $this->updateModule($module->getName());
        }
    }