added local export support and refined program logic
This commit is contained in:
10
README.md
10
README.md
@@ -96,6 +96,16 @@ Skip git sync:
|
||||
wp-materialize apply --no-sync
|
||||
```
|
||||
|
||||
Local export (writes per-post directories with HTML, metadata, and WP command):
|
||||
|
||||
```bash
|
||||
wp-materialize local /path/to/output
|
||||
```
|
||||
|
||||
Notes:
|
||||
1. The local export assumes every post is new and generates create commands.
|
||||
2. Categories must already exist in WordPress for exact commands.
|
||||
|
||||
## Manifests
|
||||
|
||||
Each managed directory must contain a `.wp-materialize.json` manifest. See `configurations.md` for the manifest guide.
|
||||
|
||||
Reference in New Issue
Block a user