Member-only story

Dennis O'Keeffe
6 min readJul 15, 2020

--

Heading image

The recent evening’s project was to generate a CLI helper for myself to quick sketch up rough diagrams and flows at work as PNG images.

In action

The tool in action

Static output

Static output

Why? After recent events at work, I am helping to take over our department’s developer tool that enables other users to get up and running quickly at work.

This tool is written in Golang and requires an understanding of certain concepts such as named pipes, POSIX standard interrupts, RPCs and more. The hope is that I can quickly generate rough diagram flows to help illustrate what is happening.

The MVP for this was to just get auto-sized rectangles that would flow from 1..n with lines between each using a little bit of math.

Prerequisites

This post uses concepts that were taken from previous blog posts. Please check them out first to understand how a bunch of the screenshots and argument parsing is working.

  1. Screenshots with Puppeteer — Blog Post

--

--

Dennis O'Keeffe
Dennis O'Keeffe

No responses yet