diff --git a/README.md b/README.md index f7aac3f..4b2a50b 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,16 @@ Choose an item from a file or input stream using drand `npm install -g dchoose` ## Usage +Select some random entries from a file: + `cat /some/path/to/file | dchoose --count 2` -or + +Or alternatively: + `dchoose --count 2 --file /some/path/to/file` -or + +Flip a coin: + `echo -e "heads\ntails" | dchoose` ## Parameters