Synchronise JSON and Markdown representations with conflict resolution
Library function: src/operations/syncDocuments!syncDocumentsOp
spm sync [options]
| Flag | Description | Required |
|---|---|---|
--input |
Path to JSON file | Yes |
--output |
Path to Markdown file | Yes |
--prefer-json |
Prefer JSON as source of truth in conflicts | |
--prefer-md |
Prefer Markdown as source of truth in conflicts | |
--dry-run |
Preview changes without writing files | |
--report |
Report conflicts without resolving |