# CLI-Jupyter Integration Helper
import subprocess
import os
def sync_project(project_path):
    """Sync project using CLI"""
    cmd = ["../cli/zig-out/bin/ml", "sync", project_path, "--queue"]
    result = subprocess.run(cmd, capture_output=True, text=True)
    return result.returncode == 0
