Restructure drawing code into Box
Further simplify command flag parsing
Further improvements to command flag handling
You can also use your local clone with
boxit - draw boxes around text
boxit draws boxes around text from stdin and dumps the result to stdout. Tabs
are turned into a configurable amount of spaces. By default, unicode box drawing
characters are used for the walls and corners.