3 ms·
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
by endgame 4y ago
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 https://hackage.haskell.org/package/optparse-applicative