README.md in ig_scrape-0.0.2 vs README.md in ig_scrape-0.0.3
- old
+ new
@@ -52,9 +52,25 @@
post.load_more_comments
puts post.has_more_comments?
```
+### Using the CLI
+
+ You can use the CLI to get a dump in JSON of posts and comments
+
+ ```
+ gem install ig_scrape
+
+ ig_scrape help
+
+ # load all the posts for an account
+ ig_scrape posts --username theusername
+
+ # load all the comments for a post
+ ig_scrape comments --shortcode theshortcode
+ ```
+
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).