Rework the "cli" to a server instead

This commit is contained in:
2026-02-28 19:33:38 +01:00
parent bc23f380db
commit 1c7886463d
6 changed files with 92 additions and 98 deletions

5
pyfa_headless.py Normal file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env python3
# Headless sim daemon only. POST /simulate with JSON body.
from scripts.pyfa_cli_stats import _run_http_server
_run_http_server(9123, None)