Skip to main content

CLI for RedFlagDeals.com

Project description

RFD

Hot deals on the command line.

Build Status PyPI version Dependabot 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

View and Sort Hot Deals

$ rfd threads --sort-by score
$ rfd threads --sort-by views --limit 40

Simple Search

$ rfd search 'pizza'

RegEx Search

Regular expressions can be used for search.

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

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.

Source Distribution

rfd-0.5.0.tar.gz (11.8 kB view details)

Uploaded Source

File details

Details for the file rfd-0.5.0.tar.gz.

File metadata

  • Download URL: rfd-0.5.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1

File hashes

Hashes for rfd-0.5.0.tar.gz
Algorithm Hash digest
SHA256 7ec049f879d986c81689cb93d756bcf8f46d53344e76c62d80115e172e814331
MD5 ebdcf7ea30afad1f28e6321cc5bfffcd
BLAKE2b-256 e60bd874b5a96f1f5d7bc2a0befda29efb4debe5e28a274fda8bc25a5000292c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page