In the past we implemented this by having a top-level parser for the application that then would call completely independent parsers. That worked out pretty well, so we could just document that approach and add some tooling around it. Alternatively we can explore the usage of the sub-parser support of optparse-applicative.
In the past we implemented this by having a top-level parser for the application that then would call completely independent parsers. That worked out pretty well, so we could just document that approach and add some tooling around it. Alternatively we can explore the usage of the sub-parser support of optparse-applicative.