Internal if an IOHK staff member.
Area
CLI Help
Description
We need a version of optparse-applicative that is able to print structured CLI output that makes large CLI help documents easier to read.
At the moment, optparse-applicative is dependent on ansi-wl-pprint which is deprecated, and is fairly unwieldy providing very limited control over the output. Previous attempts at making ansi-wl-print properly layout structured CLI output have failed.
In order to get this working, we need to switch optparse-applicative to use prettyprinter, and then make modifications to the optparse-applicative code to perform the desired layout.
We have this in a fork, but to be sustainable, this needs to merge upstream.
Some effort to that end has been done here, but some effort needs to be spent to push this forward: