README.md in drive_env-0.4.0 vs README.md in drive_env-0.4.1

- old
+ new

@@ -114,9 +114,47 @@ ``` $ drive_env spreadsheet to_env sheet1 > .env $ your-ruby-application-with-dotenv-gem ``` +#### Output format + +JSON output is available by `--format=json` option. + +``` +$ drive_env spreadsheet to_env sheet1 --format=json +[ + { + "key": "RAILS_ENV", + "value": "production" + }, + { + "key": "DATABASE_HOSTNAME", + "value": "x.x.x.x" + }, + { + "key": "DATABASE_USERNAME", + "value": "appuser" + }, + { + "key": "DATABASE_PASSWORD", + "value": "appuser" + }, + { + "key": "SMTP_HOST", + "value": "x.x.x.x" + }, + { + "key": "SMTP_USERNAME", + "value": "appuser" + }, + { + "key": "SMTP_PASSWORD", + "value": "appuser" + } +] +``` + ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` 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).