News for hackers. Stuff that matters.
Re:Tools I use: argparse builder by breuleux on Thursday October 08, 2020 @02:32PM (#24722218)
I've been using my own interface to easily define CLI applications: https://github.com/breuleux/coleo (kind of a work in progress).

Admittedly, the way it works is kind of black magic, so it's probably not for everyone, but it's so simple: just annotate an existing variable with Option and it becomes a command-line argument. You can define options where they are used in the program instead of defining them in one spot and then using them somewhere else.

There are no comments on this comment yet.