Files
2024-05-09 14:47:38 +02:00

38 lines
711 B
PHP

<?php
namespace App\Console\Commands;
use App\Services\Karat\KaratService;
use Illuminate\Console\Command;
class SyncProjectsNameFromKarat extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'karat:sync-projects-name';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Syncs projects name from Karat to our DB';
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$karatService = new KaratService();
$karatService->syncProjectsName();
return Command::SUCCESS;
}
}