README.md in desi-0.3.0 vs README.md in desi-0.4.0
- old
+ new
@@ -1,8 +1,9 @@
Desi
====
[![Build Status](https://secure.travis-ci.org/AF83/desi.png)](http://travis-ci.org/AF83/desi)
+[![Gem Version](https://badge.fury.io/rb/desi.png)](http://badge.fury.io/rb/desi)
Desi (Developper ElasticSearch Installer) is very simple tool to quickly set up
an [Elastic Search](http://www.elasticsearch.org/) local install for
development purposes.
@@ -22,10 +23,11 @@
$ desi install [VERSION] # Install a specific version (latest by default)
$ desi start # Start a local 1-node cluster (noop if active)
$ desi restart # (Re)start cluster (even if active)
$ desi stop # Stop cluster
$ desi status [--host HOST] # Show running cluster info
+ $ desi tail # Show tail output from Elastic Search's log file
$ desi indices "^foo" # List all indices whose name match /^foo/
$ desi indices "^foo" --delete # Delete all matching indices
$ desi indices "bar$" --empty # Remove all records from the matching indices
@@ -75,11 +77,16 @@
```shell
$ desi start
* Elastic Search 0.19.9 started
$ desi status
OK. Elastic Search cluster 'elasticsearch' (v0.19.9) is running on 1 node(s) with status yellow
- ```
+ # Start Elastic Search in the foreground
+ $ desi start -f # or --foreground
+ ES will be launched in the foreground
+ ^C # Manual stop with Control-C
+ Elastic Search interrupted!
+ ```
* library
```ruby
Desi::ProcessManager.new.start.status #=> "OK. Elastic Search cluster 'elasticsearch' (v0.19.9) is running on 1 node(s) with status green"