Meridian handbook
ReferenceCLI

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.

CommandWhat it does
engine-dmo export contentWrite 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 embedsWrite 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]
FlagTypeDefaultMeaning
--outstringthe directory to write to, such as./content
--sincestringwrite only what changed after this cursor, the cursor of a previous export’s manifest.json
--sitestringsite 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]
FlagTypeDefaultMeaning
--hoststringthe embedding site’s host, credited with the impressions the static pages record
--localestringslocales to write, or all (default: the site’s default locale)
--outstringthe directory to write to, such as./dist/embeds
--sitestringsite key (default: the default site)
--widgetstring, repeatablea 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.