Skip to content

tsub/docker-graph-easy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-graph-easy

Dockerized graph-easy

Usage

$ docker pull tsub/graph-easy
$ mkdir $HOME/.bin
$ curl -L https://raw.githubusercontent.com/tsub/docker-graph-easy/master/bin/graph-easy -o $HOME/.bin/graph-easy
$ chmod +x $HOME/.bin/graph-easy
$ export PATH=$HOME/.bin:$PATH
$ echo '[a]->[b]' | graph-easy
+---+     +---+
| a | --> | b |
+---+     +---+

$ echo '[a]->[b]' > graph.txt
$ graph-easy graph.txt
+---+     +---+
| a | --> | b |
+---+     +---+

Install with Whalebrew

$ whalebrew install tsub/graph-easy
$ echo '[a]->[b]' | graph-easy
+---+     +---+
| a | --> | b |
+---+     +---+

$ echo '[a]->[b]' > graph.txt
$ graph-easy graph.txt
+---+     +---+
| a | --> | b |
+---+     +---+