GithubHelp home page GithubHelp logo

spfroc / erd-go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kaishuu0123/erd-go

0.0 2.0 0.0 545 KB

Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.(convert to dot file)

License: MIT License

Dockerfile 0.28% Makefile 0.99% Go 98.73%

erd-go's Introduction

erd-go

Build Status Coverage Status

Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.(convert to dot file)

ER diagram for nfldb

Install

get binary from releases page.

or

go get github.com/kaishuu0123/erd-go

or (for Mac)

brew tap kaishuu0123/erd-go
brew install erd-go

Usage

Usage:
  erd-go [OPTIONS] PATTERN [PATH]

Application Options:
  -i, --input=  input will be read from the given file.
  -o, --output= output will be written to the given file.

Help Options:
  -h, --help    Show this help message

support input from STDIN.

cat examples/nfldb.er | erd-go

ex.) convert to png from dot (use dot command)

cat examples/nfldb.er | erd-go | dot -Tpng -o nfldb.png

Example

see examples directory

Build Instruction

  1. install glide
    go get github.com/Masterminds/glide
    
  2. install go-bindata
    go get github.com/jteeuwen/go-bindata
    
  3. install peg
    go get github.com/pointlander/peg
    
  4. make
    make
    

LICENSE

MIT

Credits

This work is based off of several existing projects:

erd-go's People

Contributors

kaishuu0123 avatar apterf avatar sickhye avatar

Watchers

James Cloos avatar 孙鹏飞 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.