A program that displays word count of a file.
```console
cargo install word_counter ```
```console
brew tap tasnimAlam/word-counter brew install tasnimAlam/word-counter/word_counter ```
console
$ ./word_counter poem.txt --top 4 --search lover --max --duration
+---------------+-------+---+
| Search result | lover | 3 |
+---------------+-------+---+
+---------------+-----+---+
| Maximum count | the | 4 |
+---------------+-----+---+
+-------+-------+
| Word | Count |
+-------+-------+
| the | 4 |
+-------+-------+
| and | 3 |
+-------+-------+
| God | 3 |
+-------+-------+
| lover | 3 |
+-------+-------+
Duration : 2ms
```console $ ./word_counter --help A program that displays word count of a file.
USAGE: word_counter [FLAGS] [OPTIONS]
FLAGS: -d, --duration Duration of all the calculations -h, --help Prints help information -r, --reverse Reverse order -m, --max Show most counted word -V, --version Prints version information
OPTIONS: -o, --output
ARGS: Input file ```