mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-06 00:33:40 +00:00
Update README.md (#81)
This commit is contained in:
16
README.md
16
README.md
@@ -34,6 +34,12 @@ Commands:
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
All commands open up in a pager.
|
||||||
|
|
||||||
|
Search can be done using `/`.
|
||||||
|
|
||||||
|
Close pager with `q`.
|
||||||
|
|
||||||
### View Hot Deals
|
### View Hot Deals
|
||||||
|
|
||||||
```console
|
```console
|
||||||
@@ -47,7 +53,7 @@ $ rfd threads --sort-by score
|
|||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ rfd threads --sort-by views --limit 40
|
$ rfd threads --sort-by views --pages 10
|
||||||
```
|
```
|
||||||
|
|
||||||
### Simple Search
|
### Simple Search
|
||||||
@@ -56,7 +62,7 @@ $ rfd threads --sort-by views --limit 40
|
|||||||
$ rfd search 'pizza'
|
$ rfd search 'pizza'
|
||||||
```
|
```
|
||||||
|
|
||||||
### RegEx Search
|
### Advanced Search
|
||||||
|
|
||||||
Regular expressions can be used for 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
|
$ rfd search '(coffee|starbucks)' --pages 10 --sort-by views
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### View Posts
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ rfd posts https://forums.redflagdeals.com/kobo-vs-kindle-2396227/
|
||||||
|
```
|
||||||
|
|
||||||
## Shell Completion
|
## Shell Completion
|
||||||
|
|
||||||
Completion can be enabled if using `bash` or `zsh`.
|
Completion can be enabled if using `bash` or `zsh`.
|
||||||
|
Reference in New Issue
Block a user