Skip to content

mobmewireless/courier-client-ruby-command-line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Courier Client

Build Status

It's a command line client for Courier, written in Ruby!

Installation

With a version of Ruby (>= 1.9.3) installed, do:

$ gem install courier_client

Setup

$ courier config API_BASE_URL ACCESS_TOKEN

For example:

$ courier config https://courier.myhost.com/api CKXsr6npvUQTWWvX96gabQ

This will create the file ~/.courier/config.yml to hold these values.

Usage

To send a message to all of your devices:

$ courier send 'Something important just happened'

To send a device to just one of your devices, use the --device (-d) switch.

$ courier send 'All done!' --device DEVICE_NAME

About

courier-client-ruby-command-line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages