/enter

A CLI for generating ER diagrams for Ent schema

Primary LanguageGoApache License 2.0Apache-2.0

enter

A CLI for generating ER (entity-relationship) diagrams for Ent schema using mermaid.js.

Install

go get -u github.com/a8m/enter

Example

enter 

Pass a custom schema path (defaults to ent/schema):

enter ./pkg/ent/schema

Open er.html in web browser to view the diagram:

ERD