Skip to content

Commit 113248f

Browse files
committed
Hey look, it has params too
1 parent e63e10e commit 113248f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Luckily, Heroku's client makes it very easy to install plugins:
1111

1212
Usage
1313
-----
14+
For the current month:
1415

1516
$ heroku sendgrid
1617
+----------------------------------------------------------------+
@@ -22,3 +23,24 @@ Usage
2223
| Totals | 97026 | 33 | 43769 | 33979 | 14 |
2324
+----------------------------------------------------------------+
2425

26+
The command also accepts the optional parameters `year=` and `month=`. For example:
27+
28+
$ heroku sendgrid month=6
29+
+---------------------------------------------------------------+
30+
| date | requests | bounces | clicks | opens | spamreports |
31+
+---------------------------------------------------------------+
32+
| 2010-6-01 | 0 | 0 | 0 | 0 | 0 |
33+
| 2010-6-02 | 0 | 0 | 0 | 0 | 0 |
34+
...
35+
| Totals | 0 | 0 | 0 | 0 | 0 |
36+
+---------------------------------------------------------------+
37+
38+
$ heroku sendgrid year=1970 month=1
39+
+---------------------------------------------------------------+
40+
| date | requests | bounces | clicks | opens | spamreports |
41+
+---------------------------------------------------------------+
42+
| 1970-1-01 | 0 | 0 | 0 | 0 | 0 |
43+
| 1970-1-02 | 0 | 0 | 0 | 0 | 0 |
44+
...
45+
+---------------------------------------------------------------+
46+

0 commit comments

Comments
 (0)