Skip to content

miya0001/pb-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pb-cli

Build Status Gem Version

A command line interface for Pushbullet.

https://www.pushbullet.com/

Installation

Run:

$ gem install pb-cli

And then execute:

$ pb init <ACCESS-TOKEN>

To access the Pushbullet API you'll need an access token so the server knows who you are. You can get one from your Account Settings page.

How to use

Send notification.

$ pb push create <MESSAGE> [--title <TITLE>]

Or send notification from STDIN.

$ ls -al | pb push create

See also pb help.

Development

$ git clone git@github.com:miya0001/pb-cli.git
$ cd pb-cli
$ bundle install --path vendor/bundle

Running automated tests

$ access_token=<ACCESS_TOKEN> bundle exec rspec

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/miya0001/pb-cli.