mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-05 08:23:38 +00:00
* Cleanup CLI interface and allow for regular expressions in search * Put a cap on beautifulsoup4
1.4 KiB
1.4 KiB
RFD
Hot deals on the command line.
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