This commit is contained in:
2025-09-08 13:59:28 +02:00
parent b99533ced8
commit 19bdd41664
2 changed files with 7 additions and 3 deletions

5
add-container.php Normal file
View File

@ -0,0 +1,5 @@
<?php
if (count($argv) !== 3) return;
$config = json_decode(file_get_contents(__DIR__ . '/api/config.json'), true);
$config[$argv[1]] = $argv[2];
file_put_contents(__DIR__ . '/api/config.json', json_encode($config));