Skip to content

Commit 521d4bb

Browse files
committed
support a new action unstar for command filter
1 parent bf4c095 commit 521d4bb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

inoreader/main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,10 @@ def apply_action(articles, client, action, tags):
275275
client.mark_as_starred(articles)
276276
for article in articles:
277277
LOGGER.info("Starred article: {}", article.title)
278+
elif action == 'unstar':
279+
client.remove_starred(articles)
280+
for article in articles:
281+
LOGGER.info("Unstarred article: {}", article.title)
278282

279283

280284
@main.command("filter")

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from setuptools import setup, find_packages
55

66

7-
VERSION = '0.4.5'
7+
VERSION = '0.4.6'
88
REQS = [
99
'lxml',
1010
'requests',

0 commit comments

Comments
 (0)