intermodal/bin
Casey Rodarmor f05807290b
Render command help text in book to avoid wrapping
The command `--help` text output in the book was very wide, which caused
it to be clipped and require scrolling horizontally to see it all.

This diff renders the text at 80 columns, which makes it visible without
scrolling at reasonable screen sizes.

To do this, `env::run` now checks for the presence of the environment
variable `IMDL_TERM_WIDTH`, which, if set to a positive integer, will be
passed to `Clap::set_term_width`.

`bin/man` now uses this to render the help text at 80 characters.

type: documentation
pr: https://github.com/casey/intermodal/pull/364
2020-04-11 04:00:52 -07:00
..
changelog Skip fixup commits in changelog 2020-04-07 23:41:06 -07:00
demo Improve demo GIF 2020-04-08 04:26:37 -07:00
man Render command help text in book to avoid wrapping 2020-04-11 04:00:52 -07:00
update-readme Update BEP list in readme with new issue links 2020-04-07 19:01:27 -07:00
check-minimal-versions Release v0.0.1 2020-04-07 19:00:59 -07:00
generate-completions Add ability to create single-file torrents from stdin 2020-04-07 19:01:43 -07:00
lint Improve book 2020-04-07 19:01:30 -07:00
package Generate man page with from --help with help2man 2020-04-07 19:01:37 -07:00