export
engine-dmo export: Export a site's content for a static build: the content API's answers, or the embed widgets' fragments. Every subcommand, argument and flag.
Export a site’s content for a static build: the content API’s answers, or the embed widgets’ fragments.
| Command | What it does |
|---|---|
engine-dmo export content | Write a site’s content API answers for a static build: site.json, strings, the sitemap, the redirects and every published path’s resolve outcome; --since writes only what changed |
engine-dmo export embeds | Write the embed widgets’ HTML fragments and a JSON manifest for a static build |
engine-dmo export content
Write a site’s content API answers for a static build: site.json, strings, the sitemap, the redirects and every published path’s resolve outcome; --since writes only what changed.
engine-dmo export content [flags] | Flag | Type | Default | Meaning |
|---|---|---|---|
--out | string | the directory to write to, such as./content | |
--since | string | write only what changed after this cursor, the cursor of a previous export’s manifest.json | |
--site | string | site key (default: the default site) |
--json prints the command’s own JSON document. Runs in a project.
engine-dmo export embeds
Write the embed widgets’ HTML fragments and a JSON manifest for a static build.
engine-dmo export embeds [flags] | Flag | Type | Default | Meaning |
|---|---|---|---|
--host | string | the embedding site’s host, credited with the impressions the static pages record | |
--locale | strings | locales to write, or all (default: the site’s default locale) | |
--out | string | the directory to write to, such as./dist/embeds | |
--site | string | site key (default: the default site) | |
--widget | string, repeatable | a widget as widget/id?options, such as list/things-to-do?layout=list&limit=6 or search; repeatable (default: a list of each type with an index, and search) |
--json prints the command’s own JSON document. Runs in a project.
dpia
engine-dmo dpia: Write a data protection impact assessment with every technical fact filled from engine.yaml and the bundle. Every subcommand, argument and flag.
guide
engine-dmo guide: Working guidance for this project, generated from its schema, routes and the engine's template contract. Every subcommand, argument and flag.