Hello,
I'm currently writing a little tool for generating a CLI reference documentation in markdown from a CLI built with yargs. (I recursively call the --help of all the commands/subcommands and parse the result).
The default columns wrapping with .wrap() is annoying when parsing the output of all the --help commands. I was wondering if it could be possible to add a built-in YARGS_DISABLE_WRAP that would set .wrap(null) for any yargs CLI?
It would help a ton with the kind of tool I'm building and I could apply the variable myself instead of asking the users to provide such option.
I'll be happy to make a PR if it's accepted. 👍
Hello,
I'm currently writing a little tool for generating a CLI reference documentation in markdown from a CLI built with yargs. (I recursively call the
--helpof all the commands/subcommands and parse the result).The default columns wrapping with
.wrap()is annoying when parsing the output of all the--helpcommands. I was wondering if it could be possible to add a built-inYARGS_DISABLE_WRAPthat would set.wrap(null)for any yargs CLI?It would help a ton with the kind of tool I'm building and I could apply the variable myself instead of asking the users to provide such option.
I'll be happy to make a PR if it's accepted. 👍