Skip to content

nikochiko/boks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages