Pull web edits
deck_pullMerge the newest web version of a deck into local MDX files slide by slide against the last sync, detecting conflicts and backing up changed files before publishing.
Instructions
Merge the newest web version (or version) into the deck's files, slide by slide, against the last sync. What only one side changed is taken; the same lines changed both ways become git-style conflict markers (clean: false), which block publishing. Changed files are backed up in .kadal-deck/sync/backup/. strategy "ours"/"theirs" settles every conflict one way — use it only when the person says so; otherwise read them with deck_conflicts and settle each with deck_resolve.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Deck folder (contains deck.mdx). Absolute, or relative to the server's folder. Default: the server's folder. | |
| slug | No | ||
| dryRun | No | Say what would change; write nothing. | |
| version | No | A version to pull instead of the newest (e.g. one a forced publish replaced). | |
| strategy | No | Default merge: leave conflicts for deck_resolve. | |
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | Yes | ||
| files | Yes | ||
| version | Yes | ||
| conflicts | Yes |