Github::Commit::Status::Updater
Simple CLI Tools for GitHub commit status.
Installation
$ gem install github-commit-status-updater
Or, add this line to your application's Gemfile:
gem 'github-commit-status-updater', github: 'joker1007/github-commit-status-updater'
And then execute:
$ bundle
Usage
Commands:
github-commit-status-updater error -r, --repo=REPO -s, --sha1=SHA1 # commit status error
github-commit-status-updater failure -r, --repo=REPO -s, --sha1=SHA1 # commit status failure
github-commit-status-updater help [COMMAND] # Describe available commands or one specific command
github-commit-status-updater pending -r, --repo=REPO -s, --sha1=SHA1 # commit status pending
github-commit-status-updater success -r, --repo=REPO -s, --sha1=SHA1 # commit status success
- format for
repo
is like 'joker1007/github-commit-status-updater' (owner/repo) -
sha
must be a 40 character SHA1
And options for credential:
-u username
-p password
--oauth-token token
--target_url URL
--description description
--web_endpoint if you want to use github enterprise, --web_endpoint="http(s)://yourghedomain/"
Contributing
- Fork it
- 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 new Pull Request