Files
rfd/README.md
Dave Gallant dbcdc01457 Cleanup CLI interface and allow for regular expressions in search (#68)
* Cleanup CLI interface and allow for regular expressions in search

* Put a cap on beautifulsoup4
2020-06-28 23:48:20 -04:00

1.4 KiB

RFD

Hot deals on the command line.

Build Status PyPI version Dependabot Total alerts Language grade: Python

screenshot

Install

pip install rfd

Usage

Usage: rfd [OPTIONS] COMMAND [ARGS]...

  CLI for https://forums.redflagdeals.com

Options:
  -v, --version
  --help         Show this message and exit.

Commands:
  posts    Display all posts in a thread.
  search   Search deals based on a regular expression.
  threads  Displays threads in the forum. Defaults to hot deals.

Examples

view hot deals

rfd threads

search for pizza

rfd search 'pizza'

Tab Completion

To enable:

bash

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

zsh

echo 'eval "$(_RFD_COMPLETE=source_zsh rfd)"' >> ~/.zshrc