-
Notifications
You must be signed in to change notification settings - Fork 8k
Description
Describe the feature or problem you’d like to solve
It would be desirable to have gh issue list or gh pr list be piped using $PAGER variable much like when one does git log. If the output is longer that the height of the screen, the output is sent via $PAGER (in most cases - less).
Currently the limit is default to 30, and when increasing this to say 100 (i.e. gh issue list --limit 100) it would be nice to be able to grep and search this output perhaps.
This feature could then be overriden even with something akin to how it is done in git with:
git --no-pager log
Proposed solution
The proposed solution it add an option to pipe output to the users $PAGER variable, much like the behaviour with git log when the output exceed the height of the users screen.
I would also propose an option to disable this with something similar to git again, with git --no-pager log or the like.
I'm not sure where I would be able to start with this but I am happy to learn and give this a go with some guidance if it is felt that this is something people would like.
Apologies if this is already possible, but in my search I could not seem to find documentation regarding this, so if that is the case, I am happy to assist with the documentation as well.
- Potentially linked to: Add a search command to
gh issueandgh pr#452