Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I go the other way: use optparse-applicative[1] to generate argument parsers for the configs, and generate help commands for each (sub)commands from each parser.

[1]: https://hackage.haskell.org/package/optparse-applicative




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: