lexia / scripts /run_bootstrap.py
davidhf2026's picture
LexIA 2026-09-16 19:37
efe917e
Raw History Blame Contribute Delete
482 Bytes
"""Ejecuta el bootstrap local y deja su resultado visible para soporte."""
from __future__ import annotations
import json
from lexia.setup.service import get_service
def main() -> None:
service = get_service()
print(json.dumps(service.start(), ensure_ascii=False), flush=True)
worker = service._worker
if worker is not None:
worker.join()
print(json.dumps(service.progress(), ensure_ascii=False), flush=True)
if __name__ == "__main__":
main()