![Flargs: parsimonious parsing of flags and arguments RMAG news](https://rmag.eu/wp-content/uploads/2024/04/RMAG-POSTS-600x400.png)
Flargs: parsimonious parsing of flags and arguments
While working on a small CLI for encrypting and decrypting files, I found myself unstatisfied with the practice of writing, and testing, and reasoning about a CLI in Go. The flag package was not pleasant to work with. Testing was hard and inelegant, and the whole concept of a CLI is leaky. So I pulled…