6

Show command help in $PAGER or less · Issue #3434 · build-trust/ockam · GitHub

 1 year ago
source link: https://github.com/build-trust/ockam/issues/3434
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Member

mrinalwadhwa commented yesterday

edited

Currently:

We have many help commands that show a long help, for example ockam secure-channel --help. This hides the command syntax above the fold.

Desired:

  1. Detect if $PAGER is set, if so invoke that and send all help output to it.
  2. If $PAGER is not set, default to less

We love helping new contributors!
If you have questions or need help as you work on your first Ockam contribution, please leave a comment on this discussion.
If you're looking for other issues to contribute to, checkout this discussion and labels - good first issue or help wanted


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK