Closed davidmc24 closed 8 years ago
FYI I've just created #43 to add a --wrapwidth option, cause I need this too --- it works with the json & pretty outfmts. Let me know if it works for you.
Looks like I merged that PR in. So this issue is probably addressed. Reopen if otherwise.
It looks to me like
stringify
supports awrapWidth
config entry that adjusts the width that's allowed before wrapping. This configuration is used in thejson
andpretty
output formats. However, unless I'm missing it, there's no way on the command-line to adjust it, and there are cases where I sometimes want something other than the default of100
.I'd like there to be a
--wrap-width
command-line argument to support adjusting it, similar to how the--color
flag works.