Add flags to remove for more fine-grained removals

This commit is contained in:
nytpu
2021-03-20 10:10:01 -06:00
parent 71f087b2ad
commit 6639a4288f
3 changed files with 30 additions and 9 deletions
+12
View File
@@ -52,4 +52,16 @@ var (
`Number of worker threads to use when refreshing feeds. More is faster,
but there are more concurrent outgoing requests then.`,
)
// remove
removeFeedsFlag = commands["remove"].BoolP(
"feeds", "f",
false,
`Remove URL from subscribed feeds.`,
)
removePagesFlag = commands["remove"].BoolP(
"pages", "p",
false,
`remove URL from subscribed pages.`,
)
)