README.md in natophone-0.0.2 vs README.md in natophone-0.0.3
- old
+ new
@@ -1,14 +1,20 @@
+![travis](https://travis-ci.org/ericdke/NATOPhone.svg?branch=master)
+
+[![Coverage Status](https://img.shields.io/coveralls/ericdke/NATOPhone.svg)](https://coveralls.io/r/ericdke/NATOPhone?branch=master)
+
# NATOPhone
Simple tool to encode/decode [NATO alphabet](https://en.wikipedia.org/wiki/NATO_phonetic_alphabet).
## Installation
### CLI
- $ gem install natophone
+```raw
+gem install natophone
+```
### Library
Add this line to your application's Gemfile:
@@ -16,26 +22,27 @@
gem 'natophone'
```
And then execute:
- $ bundle
+`bundle`
## Usage
### CLI
- $ natophone encode Hello world.
-
- $ natophone encode --yell Hello world.
-
- $ natophone encode --json Hello world.
-
- $ natophone decode hotel echo lima lima oscar - whiskey oscar romeo lima delta stop
-
- $ natophone decode --yell hotel echo lima lima oscar - whiskey oscar romeo lima delta stop
-
- $ natophone decode --json hotel echo lima lima oscar - whiskey oscar romeo lima delta stop
+```raw
+natophone encode Hello world.
+natophone -E Hello world.
+natophone -E 'Hello world.' 'Goodbye!'
+natophone -E --yell Hello world.
+natophone -E --json Hello world.
+natophone decode hotel echo lima lima oscar - whiskey oscar romeo lima delta stop
+natophone -D hotel echo lima lima oscar - whiskey oscar romeo lima delta stop
+natophone -D 'hotel echo lima lima oscar' 'whiskey oscar romeo lima delta stop'
+natophone -D --yell hotel echo lima lima oscar
+natophone -D --json hotel echo lima lima oscar
+```
### Library
```ruby
require 'natophone'