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

ERD

GitHub

https://github.com/a8m/enter