This commit is contained in:
Ty Clifford
2026-06-14 15:25:31 -04:00
parent 2f67ae718f
commit b7eaa81501
34 changed files with 3814 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
use Budget\Mailgun;
use Budget\ReminderService;
require __DIR__ . '/../app/bootstrap.php';
$force = in_array('--force', $argv, true);
$service = new ReminderService($pdo, $settings, new Mailgun($settings));
$result = $service->run($force);
echo json_encode($result, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL;
exit($result['errors'] === [] ? 0 : 1);