Rushover::Cli
rushover-cli
is a command line interface to the rushover
gem.
Installation
Add this line to your application's Gemfile:
gem 'rushover-cli'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rushover-cli
Usage
rushover config -u USER_KEY -a APP_TOKEN
rushover push MESSAGE [-t title]
Caveats
rushover-cli
requires a :user
key and a :rush
key to be saved to ~/.rushrc
.
# Example
---
:user: youruserkey
:rush: anyapptoken
The application you use doesn't need to be named 'rush'. It just needs to be any app token. If you want to change the title that gets passed to Pushover, just use the -t
option.
Contributing
- Fork it ( https://github.com/[my-github-username]/rushover-cli/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