ghi
ghi copied to clipboard
Searching assignee cross-repo
It would be good if ghi list -u <username> listed all that user's open issues, cross repository (without a repo, it returns the same as ghi list, regardless of which username I put, as per the documentation). I don't believe this functionality is available in the issues part of the github API, but it is available in the search part of the github API - by performing a search for assignee:<username>. I don't know if that would be easy to hook up to?
It seems list --all -U does not work as expected, true; but list --all --mine works for me.
Can be a workaround until we fix the -U option.
// btw just found GHI, it's a complete lifesaver. Yay!
Once #149 is merged, then this functionality would be implemented, by something like ghi find assignee:<username> --all.
Hi @ktoso, @dracos
This is a great idea! I'm assuming we're talking about something similar to ghi list --all --mine for a given username, such as ghi list --all -u some-username?
Hi @AlexChesters yes that's exactly it :)
This seems like a good idea to me @ktoso.
I imagine we'd just need to make a request to https://api.github.com/search/issues?q=assignee:some-username
This would be good for anyone to take a look at, however both the -u and -U flags are currently taken. If anyone has an idea of what the flag should be please suggest it!