Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/willnet/prid
get pull request id on current branch
https://github.com/willnet/prid
Last synced: 3 months ago
JSON representation
get pull request id on current branch
- Host: GitHub
- URL: https://github.com/willnet/prid
- Owner: willnet
- License: mit
- Created: 2014-09-20T12:58:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-20T13:37:26.000Z (over 10 years ago)
- Last Synced: 2024-10-07T19:46:20.359Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 121 KB
- Stars: 9
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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:
```ruby
gem 'prid'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install prid
## Contributing
1. Fork it ( https://github.com/willnet/prid/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request