move into sonardesk

This commit is contained in:
Mark Gregory
2026-10-12 14:50:13 +01:00
parent 5f0d2ceb72
commit 38b4a7406f
879 changed files with 24021 additions and 1 deletions
@@ -0,0 +1,21 @@
<?php
namespace Modules\Enterprise\Console;
use Illuminate\Console\Command;
use Modules\Enterprise\Services\BackupService;
final class BackupCreateCommand extends Command
{
protected $signature = 'enterprise:backup';
protected $description = 'Create a platform backup archive.';
public function handle(BackupService $service): int
{
$backup = $service->create();
$this->info('Backup created: '.$backup->path);
return self::SUCCESS;
}
}