CLI for making ASCII boxes with text in OCaml.
To put something in a box,
$ boks moo
+---------+
| moo |
+---------+
To put multiple things in connected boxes,
$ boks apps dbms data
+----------+ +----------+ +----------+
| apps |<--->| dbms |<--->| data |
+----------+ +----------+ +----------+
Use -a
to customize arrow style, -p
to customize padding length.
e.g.
$ boks -a '--->' 'declarative query' 'optimized plan'
+-----------------------+ +--------------------+
| declarative query |--->| optimized plan |
+-----------------------+ +--------------------+
If you have dune
installed,
$ git clone https://github.com/nikochiko/boks && cd boks
$ dune install
MIT. See LICENSE.