Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tasnimAlam committed Aug 28, 2021
1 parent 1c21d0d commit e4de0d1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
# Word Counter
A program that displays word count of a file.

A program that displays word count of a file.

# Instllation

## Package Managers

### Linux

```console
# Cargo
cargo install word_counter
```

### MacOs

```console
# Homebrew
brew tap tasnimAlam/word-counter
brew install tasnimAlam/word-counter/word_counter
brew install tasnimAlam/word-counter/word_counter
```


# Example

## Usage

```console
$ ./word_counter poem.txt --top 4 --search lover
+---------------+-------+---+
Expand Down Expand Up @@ -53,6 +58,7 @@ USAGE:
FLAGS:
-h, --help Prints help information
-r, --reverse Reverse order
-m, --max Show most counted word
-V, --version Prints version information

OPTIONS:
Expand Down

0 comments on commit e4de0d1

Please sign in to comment.