5 Commits

Author SHA1 Message Date
Dave Gallant
11837addf1 Add poetry script as a replacement for console_scripts (#92)
After switching to poetry, the console script `rfd` was removed meaning the `rfd` command did not work.

This fixes the issue by using [poetry scripts](https://python-poetry.org/docs/pyproject/#scripts).
2021-05-03 18:22:02 -04:00
Dave Gallant
185700447e Update README.md 2021-05-02 17:36:00 -04:00
Dave Gallant
ae91f7e419 Update README.md 2021-05-02 11:10:33 -04:00
Dave Gallant
9ecc413eb0 Update README.md 2021-05-02 11:09:05 -04:00
Dave Gallant
6a4242434f Update README.md 2021-05-02 11:08:23 -04:00
3 changed files with 14 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
<!-- BEGIN mktoc -->
- [Description](#description)
- [Motivation](#motivation)
- [Install](#install)
- [Installation](#installation)
- [Usage](#usage)
- [View Hot Deals](#view-hot-deals)
- [View and Sort Hot Deals](#view-and-sort-hot-deals)
@@ -21,7 +21,7 @@
## Description
This is a CLI utility that allows you to view [Redflagdeals.com](https://forums.redflagdeals.com) on the command line.
This is a CLI utility that allows you to view [RedFlagDeals.com](https://forums.redflagdeals.com) on the command line.
![screenshot](https://user-images.githubusercontent.com/4519234/85969861-e10a4100-b996-11ea-9a31-6203322c60ee.png)
@@ -29,12 +29,17 @@ This is a CLI utility that allows you to view [Redflagdeals.com](https://forums.
It is often faster to use a CLI than to load up a web page and navigate web elements. This tool can search for deals and sort them based on score and views. It is also able to load entire threads (without pagination) for additional analysis.
## Install
## Installation
> :information_source: python2 may still work but it is [no longer supported](https://www.python.org/doc/sunset-python-2/).
```bash
pip install rfd
python3 -m pip install --user rfd
```
After installation, if you cannot access `rfd` in your path, try `python3 -m rfd`.
## Usage
All commands open up in a [terminal pager](https://en.wikipedia.org/wiki/Terminal_pager).

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "rfd"
version = "0.7.0"
version = "0.7.1"
description = "view RedFlagDeals.com from the command line"
authors = ["Dave Gallant <davegallant@gmail.com>"]
license = "GPL-3.0-or-later"
@@ -20,6 +20,9 @@ pylint = "^2.8.2"
pytest = ">=4.6.6"
rope = "0.19.0"
[tool.poetry.scripts]
rfd = "rfd.__main__:cli"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

View File

@@ -1 +1 @@
0.7.0
0.7.1