optparse-applicative
package provides very powerful tools for command-line arguments parsing. Among them is the automatic usage text generation, which is printed in case of parsing error or by --help
option if the parser is used by execParser
function inside the IO monad.
Is there any way to get the usage text if using execParserPure
?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…