add regenerate command

This commit is contained in:
nytpu
2021-03-20 09:55:51 -06:00
parent fece24eed9
commit d342b6f542
3 changed files with 25 additions and 3 deletions
+7
View File
@@ -23,6 +23,10 @@ variety of feed formats:
*refresh* [_FLAGS_]
Check for new updates to subscriptions and update aggregator page.
*regenerate*
Will regenerate all the files created by comitium using cached entries
without fetching any feeds.
*add* [_FLAGS_] <_LINK_> [_TITLE_]
Add a new subscription. _LINK_ is a link to the feed or watched URL.
_TITLE_ is an optional title for the feed, otherwise a title will be
@@ -30,6 +34,9 @@ variety of feed formats:
first heading on a page is used as a title. For ATOM, RSS, and JSON feeds,
the provided title is used. For a page being watched for changes, the URL
itself is used.
Also to note: when adding a new subscription, you *do not* need to run
*refresh* afterwards, *add* will automatically fetch the entries and
regenerate the .gmi and .json files.
*remove* <_LINK_>
Remove a subscription at _LINK_.