mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-06 08:43:41 +00:00
46 lines
923 B
Markdown
46 lines
923 B
Markdown
# RFD CLI
|
|
|
|
Hot Deals on the command line.
|
|
|
|
[](https://travis-ci.org/davegallant/rfd)
|
|
|
|
[](https://badge.fury.io/py/rfd)
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
pip install rfd
|
|
```
|
|
|
|
## Usage
|
|
|
|

|
|
|
|
```bash
|
|
rfd threads <topic-id> [--limit 10]
|
|
```
|
|
|
|
### tail a post
|
|
|
|
```bash
|
|
▶ rfd posts https://forums.redflagdeals.com/koodo-targeted-public-mobile-12-120-koodo-6gb-40-no-referrals-2176935/ --tail 4
|
|
```
|
|
|
|
## Tab Completion
|
|
|
|
### bash
|
|
|
|
```bash
|
|
echo 'eval "$(_RFD_COMPLETE=source rfd)"' >> ~/.profile
|
|
```
|
|
|
|
### zsh
|
|
|
|
There isn't native support for zsh but zsh's bash completion compatibility mode works:
|
|
|
|
```zsh
|
|
echo 'autoload bashcompinit \
|
|
bashcompinit \
|
|
eval "$(_FOO_BAR_COMPLETE=source foo-bar)"' >> ~/.zshrc
|
|
```
|