README.md in elasticsearch-extensions-0.0.2 vs README.md in elasticsearch-extensions-0.0.3
- old
+ new
@@ -3,9 +3,25 @@
This library provides a set of extensions to the
[`elasticsearch`](https://github.com/elasticsearch/elasticsearch-ruby) Rubygem.
## Extensions
+### ANSI
+
+Colorize and format selected Elasticsearch response parts in terminal:
+
+Display formatted search results:
+
+ require 'elasticsearch/extensions/ansi'
+ puts Elasticsearch::Client.new.search.to_ansi
+
+Display a table with the output of the `_analyze` API:
+
+ require 'elasticsearch/extensions/ansi'
+ puts Elasticsearch::Client.new.indices.analyze(text: 'Quick Brown Fox Jumped').to_ansi
+
+[Full documentation](http://rubydoc.info/gems/elasticsearch-extensions/Elasticsearch/Extensions/ANSI).
+
## Installation
Install the package from [Rubygems](https://rubygems.org):
gem install elasticsearch-extensions