cli: simple text formatter that takes into account current terminal width

This is related to AS7-3208, an attempt to preserve readability of static help content when the terminal width is less than the length of the lines of the content.

Thanks,
Alexey