mergeway-cli config export
Emit a JSON Schema for one of your types.
mergeway-cli is the primary workspace-management binary. It handles repository setup, schema inspection, validation, formatting, and object operations.
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. |
mergeway-cli Repository Setupmergeway-cli Schema UtilitiesFor more information on the schema, please consult the Schema Format
mergeway-cli Object OperationsFor the other binaries, see mergeway-diff Reference, mergeway-lsp Reference, and mergeway-mcp Reference. 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.
List included YAML data files, or grouped storage containers, together with the entity type.
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.
Compare Mergeway-managed data between logical repository snapshots.
Run the Mergeway language server over stdio and configure its logging.
Run the Mergeway read-only MCP server over stdio or HTTP.
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).