Files
animethemes-server/app/Console/Commands/Repositories/Storage/Wiki/VideoReconcileCommand.php
T
paranarimasuandGitHub 1d93000c6f feat(admin): migrate db dumps from github to platform (#463)
* feat(admin): migrate db dumps from github to platform

* style: fix StyleCI findings
2022-09-18 22:31:29 -05:00

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);
}
}