README.md in sql_csv-0.1.0 vs README.md in sql_csv-0.1.1
- old
+ new
@@ -16,8 +16,16 @@
Or install it yourself as:
$ gem install sql_csv
+## Usage
+
+Write an SQL command to `stdin` and set `DATABASE_URL` to configure connection. CSV output will be written to `stdout`.
+
+```bash
+echo "select * from users" | DATABASE_URL='postgresql://user:password@host:1234/database' sql_csv > users.csv
+```
+
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).