Headless snapshot + export
Use UBLX without the TUI for automation, CI, or batch artifacts.
Snapshot only
bash
ublx --snapshot-only /path/to/projectCreates or updates the SQLite snapshot and writes local config if the directory had none.
Full metadata snapshot
bash
ublx --full-snapshot /path/to/projectEquivalent to --snapshot-only --enhance-all — sets enable_enhance_all = true in new local config and runs ZahirScan for all files this pass.
Export flat Zahir JSON
bash
ublx --snapshot-only --export /path/to/projectWrites one JSON file per enhanced path under ublx-export/ (flat {path}.json layout). For the richest output, run after a full snapshot or with [[enhance_policy]] rows set to auto on the paths you care about:
bash
ublx --full-snapshot --export /path/to/projectSuggested pipeline
- Index path-only for speed:
ublx --snapshot-only - Edit
.ublx.toml/ublx.toml— add[[enhance_policy]]for subtrees that need Zahir - Re-snapshot and export:
ublx --snapshot-only --export
Or one shot for small trees: ublx --full-snapshot --export.