Open
Description
Looks as though description newlines are stripped, which means printing any type of structured output inside of descriptions will break. It looks like this is due to description being added to help, and thus help being passed into the line wrapping functionality causes it to trim those things.
Some examples of things that I've seen other cli tools have in their "about/description":
- ASCII logo art
- licenses (by themselves I guess don't require non-wrapping, in many scenarios, but do span many lines, and can complicate things if mixed with other description output)
- version/build/author/link info (see example below)
I guess my question is, does this make sense to have as a supported feature? If so, should it be toggleable? E.g. kong.Description()
and kong.LongDescription()
or kong.FormattedDescription()
, maybe (with a warning that it won't obey wrapping?)?
Metadata
Metadata
Assignees
Labels
No labels