drazisil / ghi

GitHub Issues on the command line. Use your $EDITOR, not your browser.
Other
12 stars 7 forks source link

Is there a way to search through the issues and the messages in ghi #7

Closed alphaCTzo7G closed 5 years ago

alphaCTzo7G commented 6 years ago

@drazisil ,

I noticed that you are maintaining the ghi plugin.. Thanks for keeping this up. This is amazing.

I frequently need to search through the titles and comments of various issues. Is there a way to search through the issues for specific keywords in the ghi plugin?

alphaCTzo7G commented 6 years ago

Well, I just made a small shell script: for ((i = 1; i<100; i++)); ghi show $i | grep "log" to search through it..

nichtich commented 5 years ago

Better retrieve the exact number of issues:

$ expr $(ghi list | wc -l) - 1

Or use option --verbose to emit the full issue text:

$ ghi list --verbose | grep "log"

This will only emit lines instead of issue numbers, so a more elaborated command may be more useful.

Farmerjoe12 commented 5 years ago

Can this be closed?

drazisil commented 5 years ago

@alphaCTzo7G Are you ok with https://github.com/drazisil/ghi/settings#issuecomment-427750626 as a workround?