App-GitHubPullRequest
App-GitHubPullRequest copied to clipboard
New Feature: Support Multiple Repositories
I'm responsible for code reviews across multiple repositories, and I would love to be able to use the command line to assist.
When I sign on in the morning, I'd like to be able to query the status of multiple repositories PR's, so that I can then go into each project (only if a PR status requires it) and manage that PR with this tool.
Thoughts?
Well, as all of the behavior in git-pr is linked to the repo that is in the current directory, that's kind of tricky, because all of the functions are based this singular repo. Instead of trying to alter this project, I'd try to incorporate it into a larger whole.
Create a new script called, e.g. git-mpr, where you store some kind of index of repos and then when you call a git mpr command you just call the equivalent git pr command on each repo in your index file. The index file could just be a text file with one line per repo with the path of the repo you want to call git-pr commands on.