ITADN

Prettier `--help` output?

#26Closedsellout 创建于 2025-11-11
S
selloutcommented
I’ve been migrating some projects to use OptEnvConf instead of optparse-applicative. And while the unified handling of config/env/options has been a big win, there’s been a loss of “prettiness”, notably in `--help` output. optparse-applicative uses `prettyprinter-ansi-terminal`, which does a good job of handling some things like line wrapping, bold, etc. while OptEnvConf deals with plain text, AFAICT. Wondering if I’m overlooking something or if it needs to be added. Starting a new project using OptEnvConf is a no-brainer, but migrating an existing one results in some resistance due to this loss of aesthetics.
关闭于 2025-11-24 2 条评论