Skip to main content

CLI for RedFlagDeals.com

Project description

RFD

Hot deals on the command line.

Build Status PyPI version Dependabot Downloads

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

All commands open up in a pager.

Search can be done using /.

Close pager with q.

View Hot Deals

$ rfd threads

View and Sort Hot Deals

$ rfd threads --sort-by score
$ rfd threads --sort-by views --pages 10

Simple Search

$ rfd search 'pizza'

Advanced Search

Regular expressions can be used for search.

$ rfd search '(coffee|starbucks)' --pages 10 --sort-by views

View Posts

$ rfd posts https://forums.redflagdeals.com/kobo-vs-kindle-2396227/

Shell Completion

Completion can be enabled if using bash or zsh.

bash

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

zsh

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rfd, version 0.6.0
Filename, size File type Python version Upload date Hashes
Filename, size rfd-0.6.0.tar.gz (12.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page