fix the manager

This commit is contained in:
2026-07-06 12:18:41 +02:00
parent 8891e78b1d
commit 948f209436
20 changed files with 1069 additions and 468 deletions

View File

@@ -0,0 +1,18 @@
#!/usr/bin/env python3
import json
import os
import sys
from config_model import load_config
def main() -> int:
path = sys.argv[1] if len(sys.argv) > 1 else os.getenv("CONFIG_PATH", "config.json")
config = load_config(path)
json.dump(config, sys.stdout, indent=2)
sys.stdout.write("\n")
return 0
if __name__ == "__main__":
raise SystemExit(main())