Files
rfd/README.md
Dave Gallant dcd7ad5838 tab completion instructions for bash and zsh (#11)
* instructions how to add completion.

* argument completion won't come until click 7.0

* version bump.

* drop 3.4 support.

* remove python 3.7

* new gif.

* new gif and use limit not count.
2018-07-14 22:21:32 -04:00

931 B

RFD CLI

Hot Deals on the command line.

Build Status

PyPI version

Installation

pip install rfd

Usage

rfd_peek

rfd threads <topic-id> [--limit 10]

tail a post

▶ rfd posts https://forums.redflagdeals.com/koodo-targeted-public-mobile-12-120-koodo-6gb-40-no-referrals-2176935/ --tail 4

Tab Completion

bash

echo 'eval "$(_RFD_COMPLETE=source rfd)"' >> ~/.profile

zsh

There isn't native support for zsh but zsh's bash completion compatibility mode works:

echo 'autoload bashcompinit \
bashcompinit \
eval "$(_FOO_BAR_COMPLETE=source foo-bar)"' >> ~/.zshrc