mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-28 17:54:42 +02:00
* feat(admin): migrate db dumps from github to platform * style: fix StyleCI findings
44 lines
1.1 KiB
PHP
44 lines
1.1 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Console\Commands\Repositories\Storage\Wiki;
|
|
|
|
use App\Concerns\Repositories\Wiki\ReconcilesVideoRepositories;
|
|
use App\Console\Commands\Repositories\Storage\StorageReconcileCommand;
|
|
use App\Constants\Config\VideoConstants;
|
|
use Illuminate\Support\Facades\Config;
|
|
|
|
/**
|
|
* Class VideoReconcileCommand.
|
|
*/
|
|
class VideoReconcileCommand extends StorageReconcileCommand
|
|
{
|
|
use ReconcilesVideoRepositories;
|
|
|
|
/**
|
|
* The name and signature of the console command.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $signature = 'reconcile:video
|
|
{--path= : The directory of videos to reconcile. Ex: 2022/Spring/. If unspecified, all directories will be listed.}';
|
|
|
|
/**
|
|
* The console command description.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $description = 'Perform set reconciliation between object storage and video database';
|
|
|
|
/**
|
|
* The name of the disk.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function disk(): string
|
|
{
|
|
return Config::get(VideoConstants::DEFAULT_DISK_QUALIFIED);
|
|
}
|
|
}
|