Permalink
Browse files

Hey look, it has params too

  • Loading branch information...
1 parent e63e10e commit 113248fe75650e8d49d5f3e7d0ecbda73ce4beae @danopia danopia committed Dec 8, 2010
Showing with 22 additions and 0 deletions.
  1. +22 −0 README.md
View
@@ -11,6 +11,7 @@ Luckily, Heroku's client makes it very easy to install plugins:
Usage
-----
+For the current month:
$ heroku sendgrid
+----------------------------------------------------------------+
@@ -22,3 +23,24 @@ Usage
| Totals | 97026 | 33 | 43769 | 33979 | 14 |
+----------------------------------------------------------------+
+The command also accepts the optional parameters `year=` and `month=`. For example:
+
+ $ heroku sendgrid month=6
+ +---------------------------------------------------------------+
+ | date | requests | bounces | clicks | opens | spamreports |
+ +---------------------------------------------------------------+
+ | 2010-6-01 | 0 | 0 | 0 | 0 | 0 |
+ | 2010-6-02 | 0 | 0 | 0 | 0 | 0 |
+ ...
+ | Totals | 0 | 0 | 0 | 0 | 0 |
+ +---------------------------------------------------------------+
+
+ $ heroku sendgrid year=1970 month=1
+ +---------------------------------------------------------------+
+ | date | requests | bounces | clicks | opens | spamreports |
+ +---------------------------------------------------------------+
+ | 1970-1-01 | 0 | 0 | 0 | 0 | 0 |
+ | 1970-1-02 | 0 | 0 | 0 | 0 | 0 |
+ ...
+ +---------------------------------------------------------------+
+

0 comments on commit 113248f

Please sign in to comment.