README.md in redis_env-0.1.0 vs README.md in redis_env-0.2.0

- old
+ new

@@ -35,8 +35,22 @@ ``` redis-env exec --project my-awesome-app rails s ``` +### Programmatic Usage + +``` +require "redis_env" +client = RedisEnv.new(Redis.new, "my-awesome-app") + +# Write keys +client.set("IMPORTANT_KEY", "VALUE") +client.bulk_set("IMPORTANT_KEY" => "NEW VALUE", "ANOTHER_KEY" => "banana") + +# Use keys +SomeRestClient.new(url: client.variables["RELEVENT_URL"]) +``` + ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/sionide21/redis-env.