Skip to content

BeechCMS


BeechCMS / @beechcms/cli / schemaExport

Function: schemaExport() ​

schemaExport(args?): Promise<void>

Writes a beech.schema.ts snapshot of the live schema.

The source is LIVE D1, never an existing manifest file: a snapshot derived from another snapshot can be arbitrarily stale, which is the exact failure mode beech schema diff exists to catch (feature brief, business rule 1).

Parameters ​

args? ​

SchemaExportOptions = {}

Returns ​

Promise<void>