README.md in galaxy_converter-3.1.2 vs README.md in galaxy_converter-3.1.3
- old
+ new
@@ -3,11 +3,12 @@
* [Design](#design)
* [SRP](#srp)
* [Roman numerals](#roman-numerals)
* [Installation](#installation)
* [Usage](#usage)
- * [CLI](#cli)
+ * [Input](#input)
+ * [Output](#output)
## Scope
This gem is the Ruby implementation of the `Merchant's Guide to the Galaxy` code-kata.
## Design
@@ -25,13 +26,12 @@
gem install galaxy_converter
```
## Usage
-### CLI
-The gem provides a CLI interface.
-The program accepts as input a file containing several conversion notes:
+### Input
+The gem provides a CLI interface accepting as input a file containing several conversion notes:
```txt
# ~/notes.txt
glob is I
prok is V
pish is X
@@ -44,9 +44,10 @@
how many Credits is glob prok Gold ?
how many Credits is glob prok Iron ?
how much wood could a woodchuck chuck if a woodchuck could chuck wood ?
```
+### Output
Just pass the file path to the program:
```shell
galaxy_converter ~/notes.txt
> pish tegj glob glob is 42
> glob prok Silver is 68 Credits