Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 851 Bytes

README.md

File metadata and controls

47 lines (33 loc) · 851 Bytes

boks

CLI for making ASCII boxes with text in OCaml.

Usage

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   |
+-----------------------+    +--------------------+

Installation

If you have dune installed,

$ git clone https://github.com/nikochiko/boks && cd boks
$ dune install

License

MIT. See LICENSE.