You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The help screen is getting very long. While it's possible to send the output to more, that loses the color display because of how our implementation of ColorConsole works. So I'd like to create an internal implementation that looks like more, but without a an of the options it supports.
Initial output will fill the screen with -- More -- on the last line.
Pressing enter will advance one line
Pressing space will advance one page
Pressing 'q' or 'Q' will exit.
The text was updated successfully, but these errors were encountered:
IMO I don't think this is a problem that we should be solving with the runner. The color in the output only provides a marginal benefit (we're highlighting the headers in one color and all of the body text is in green, there's no syntax highlighting or anything like that to make things clearer) and I think it's better to just support whatever default pagination method the platform provides.
I would support either:
Add a "simple" help page that outputs by default and provide additional arguments for more detailed output.
Determine if there's a way to support colored console output that doesn't break when piping to a pager.
Yeah. I think you're right about the pagination. Maybe a short page displayed for simple --help or --help:usage and a longer one for --help:options, etc.
CharliePoole
changed the title
Paginate output from the help command
Split help into several screents
Sep 30, 2024
The help screen is getting very long. While it's possible to send the output to
more
, that loses the color display because of how our implementation ofColorConsole
works. So I'd like to create an internal implementation that looks like more, but without a an of the options it supports.-- More --
on the last line.The text was updated successfully, but these errors were encountered: