fix: syncbunny command

This commit is contained in:
Andras Bacsai 2023-10-24 11:08:15 +02:00
parent 393c334b12
commit 29f64076de

View File

@ -16,7 +16,7 @@ class SyncBunny extends Command
* *
* @var string * @var string
*/ */
protected $signature = 'sync:bunny {templates?} {release?}'; protected $signature = 'sync:bunny {--templates} {--release}';
/** /**
* The console command description. * The console command description.
@ -31,8 +31,8 @@ class SyncBunny extends Command
public function handle() public function handle()
{ {
$that = $this; $that = $this;
$only_template = $this->argument('templates'); $only_template = $this->option('templates');
$only_version = $this->argument('release'); $only_version = $this->option('release');
$bunny_cdn = "https://cdn.coollabs.io"; $bunny_cdn = "https://cdn.coollabs.io";
$bunny_cdn_path = "coolify"; $bunny_cdn_path = "coolify";
$bunny_cdn_storage_name = "coolcdn"; $bunny_cdn_storage_name = "coolcdn";