mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-04 11:45:00 +02:00
26 lines
823 B
PHP
26 lines
823 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Console\Commands\Repositories\Storage\Wiki;
|
|
|
|
use App\Concerns\Repositories\Wiki\ReconcilesAudioRepositories;
|
|
use App\Console\Commands\Repositories\Storage\StorageReconcileCommand;
|
|
use App\Constants\Config\AudioConstants;
|
|
use Illuminate\Support\Facades\Config;
|
|
|
|
class AudioReconcileCommand extends StorageReconcileCommand
|
|
{
|
|
use ReconcilesAudioRepositories;
|
|
|
|
protected $signature = 'reconcile:audio
|
|
{--path= : The directory of audios to reconcile. Ex: 2022/Spring/. If unspecified, all directories will be listed.}';
|
|
|
|
protected $description = 'Perform set reconciliation between object storage and audios database';
|
|
|
|
public function disk(): string
|
|
{
|
|
return Config::get(AudioConstants::DEFAULT_DISK_QUALIFIED);
|
|
}
|
|
}
|