Writing small command-line tools

2026-08-24

Small tools that do one thing are easy to test and easy to throw away. Start with a clear input and output, print helpful errors, and keep configuration in one place.

A short README with two or three examples is often more useful than long documentation.