oem_crawler/scripts/restore_from_raw.py
2026-11-07 16:53:30 +01:00

18 lines
374 B
Python
Executable file

#!/usr/bin/env python3
"""
CLI launcher for the restore_from_raw tool.
"""
import sys
from pathlib import Path
# Add src to sys.path
root_dir = Path(__file__).resolve().parent.parent
src_dir = root_dir / "src"
if str(src_dir) not in sys.path:
sys.path.insert(0, str(src_dir))
from oem_crawler.tools.restore_from_raw import main
if __name__ == "__main__":
main()