Added functionality for --after, more code cleanup
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# tumblr-stats
|
||||
## Usage
|
||||
```
|
||||
usage: tumblr_stats.py [-h] -b BLOG [-t TAGS [TAGS ...]] OPERATION [OPERATION ...]
|
||||
usage: tumblr_stats.py [-h] -b BLOG [-t TAGS [TAGS ...]] [-i INPUT] [--after AFTER] OPERATION [OPERATION ...]
|
||||
|
||||
Use pytumblr to calculate stats after setting these enviroment variables: $TUMBLR_CONSUMER_KEY, $TUMBLR_CONSUMER_SECRET, $TUMBLR_OAUTH_TOKEN, and $TUMBLR_OAUTH_SECRET
|
||||
|
||||
@@ -13,6 +13,8 @@ options:
|
||||
-b, --blog BLOG blog name for which to calculate stats
|
||||
-t, --tags TAGS [TAGS ...]
|
||||
tag(s) to focus on in status (if applicable)
|
||||
-i, --input INPUT Don't make API calls, just use a JSON input file
|
||||
--after AFTER only gather posts after YYYY-MM-DD
|
||||
|
||||
— Be gay and do crime
|
||||
```
|
||||
Reference in New Issue
Block a user