Small changes to deploy

This commit is contained in:
2024-07-04 20:47:39 +02:00
parent 2a25500946
commit d76ad28e89
9 changed files with 1529 additions and 1004 deletions

View File

@@ -0,0 +1,37 @@
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Storage;
class Import extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'import {dir}';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Import data from gzipped backup init files';
/**
* Execute the console command.
*/
public function handle()
{
$dir = $this->argument('dir');
$files = Storage::disk('loacl')->files($dir);
foreach ($files as $file) {
var_dump($file);
}
}
}