Update README.md (#81)

This commit is contained in:
Dave Gallant
2020-08-16 16:36:33 -04:00
committed by GitHub
parent b30a3c5b66
commit e433a954cd

View File

@@ -34,6 +34,12 @@ Commands:
## Examples
All commands open up in a pager.
Search can be done using `/`.
Close pager with `q`.
### View Hot Deals
```console
@@ -47,7 +53,7 @@ $ rfd threads --sort-by score
```
```console
$ rfd threads --sort-by views --limit 40
$ rfd threads --sort-by views --pages 10
```
### Simple Search
@@ -56,7 +62,7 @@ $ rfd threads --sort-by views --limit 40
$ rfd search 'pizza'
```
### RegEx Search
### Advanced Search
Regular expressions can be used for search.
@@ -64,6 +70,12 @@ Regular expressions can be used for search.
$ rfd search '(coffee|starbucks)' --pages 10 --sort-by views
```
### View Posts
```console
$ rfd posts https://forums.redflagdeals.com/kobo-vs-kindle-2396227/
```
## Shell Completion
Completion can be enabled if using `bash` or `zsh`.