mergeway-cli gen-erd
Synopsis
mergeway-cli [global flags] gen-erd --path <output-file>--path is required and has no default. The extension selects Graphviz output (for example .svg or .png); with no extension, PNG is used. dot must be on PATH.
Output, effects, and exits
Loads entity definitions, sends a generated graph to dot, and creates or replaces the requested file. It displays fields, data paths, references, and inheritance. Success exits 0; missing paths, configuration errors, or Graphviz failures exit 1.
mergeway-cli --root examples/full gen-erd --path schema.svgSee generate an ERD and entity show.