mergeway-cli config export
Emit a JSON Schema for one of your types.
Every command shares a set of global flags (use --long-name; single-dash long flags like -root are not supported). Global flags can appear before or after the command name.
| Flag | Description |
|---|---|
--root | Path to the workspace (defaults to .). |
--config | Explicit path to mergeway.yaml (defaults to <root>/mergeway.yaml). |
--format | Output format (yaml or json, default yaml). |
--fail-fast | Stop after the first validation error (where supported). |
--yes | Auto-confirm prompts (useful for delete). |
--verbose | Emit additional logging. |
For more information on the schema, please consult the Schema Format
Need a refresher on terminology? See the Basic Concepts page.
Emit a JSON Schema for one of your types.
Validate configuration files (including includes) without touching data.
Create a new object file that conforms to an entity definition.
Remove an object file from the workspace.
Show every entity Mergeway discovered from your configuration.
Print the normalized schema for a given entity.
Export repository objects into a single JSON or YAML document.
Format one or more data/config files using Mergeway’s canonical ordering.
Generate an entity relationship diagram of your data model.
Print the fields of one object.
Scaffold the directory layout and default configuration for a Mergeway workspace.
List object identifiers for a given type, optionally filtered by a field.
Modify an existing object by replacing it or merging in fields.
Check schemas, records, and references and report formatted errors.
Display the CLI build metadata (semantic version, commit, build date).