Skip to content
Simple CLI interface into Sendgrid's Web API
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
sendgrid_cli.gemspec

README.md

SendgridCli

Build Status

This is a basic implementation for a command line interface to the Sendgrid API. It is currently limited to the Spam Reports function.

Installation

Add this line to your application's Gemfile:

gem 'sendgrid_cli'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sendgrid_cli

Usage

Sendgrid spam reports utility.

Allows you to manage and view your list of spam reports.

sendgrid config user <api_username>    :: Configure api username for gem use
sendgrid config pass <api_secret>      :: Configure api password for gem use
sendgrid get [<email>]                 :: Get entire list or single blocked recipient.
sendgrid delete <email>                :: Delete single recipient from blocked recipient list.

Note

config is required to be run before API will work. Config is stored in

~/.sendgrid_cli.yaml

Todo

  • Expand endpoint functionality
  • Clean up executable

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.