Prid
Prid offers prid
command.
prid
command return pull request id on current branch. if related pull request is not found, it return nothing.
Usage
GITHUB_ACCESS_TOKEN=YOUR_ACCESS_TOKEN prid your_repository_name
Installation
Add this line to your application's Gemfile:
gem 'prid'
And then execute:
$ bundle
Or install it yourself as:
$ gem install prid
Contributing
- Fork it ( https://github.com/willnet/prid/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request