fetch_ml/podman/scripts/cli_integration.py
Jeremie Fraeys 7eee31d721
chore: cleanup and miscellaneous updates
- .gitignore: Add reports/ and .api-keys
- examples/jupyter_experiment_integration.py: Update for new API
- podman/scripts/: CLI integration, secure runner, ML tool testing
- tools/: Performance regression detector, profiler utilities
2026-03-08 13:04:01 -04:00

9 lines
299 B
Python

# CLI-Jupyter Integration Helper
import subprocess
def sync_project(project_path: str) -> bool:
"""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