aboutsummaryrefslogtreecommitdiffstats
path: root/alfred/helpstrings.py
diff options
context:
space:
mode:
Diffstat (limited to 'alfred/helpstrings.py')
-rw-r--r--alfred/helpstrings.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/alfred/helpstrings.py b/alfred/helpstrings.py
index 15362be..30fc996 100644
--- a/alfred/helpstrings.py
+++ b/alfred/helpstrings.py
@@ -1,4 +1,4 @@
-TOPICS = "topics: srv, bot, files, irc, coffee, vpn, list, git, twt. type !help <topic> for details"
+TOPICS = "topics: srv, bot, files, irc, coffee, vpn, list, git, twt, feed. type !help <topic> for details"
SRV_TOPIC = "srv: uptime disk mem load status net top topmem io conns who logs. type !help srv <cmd> for details"
SRV = {
@@ -86,6 +86,14 @@ TWF = {
"no": "twt yes or no: confirm or cancel a pending delete. usage: !twt yes or !twt no",
}
+FEED_TOPIC = "feed: refresh add list rm. type !help feed <cmd> for details"
+FEED = {
+ "refresh": "feed refresh: regenerate feed.gumx.cc from all followed feeds. usage: !feed refresh",
+ "add": "feed add: follow a feed. usage: !feed add <url> [nick]",
+ "list": "feed list: show all followed feeds. usage: !feed list",
+ "rm": "feed rm: remove a feed by nick or url. usage: !feed rm <nick>",
+}
+
TOPIC_MAP = {
"srv": (SRV_TOPIC, SRV),
"bot": (BOT_TOPIC, BOT),
@@ -96,9 +104,10 @@ TOPIC_MAP = {
"list": (LIST_TOPIC, LIST),
"git": (GIT_TOPIC, GIT),
"twt": (TWF_TOPIC, TWF),
+ "feed": (FEED_TOPIC, FEED),
}
-_ALL = {**SRV, **BOT, **FILES, **IRC, **COFFEE, **VPN, **LIST, **GIT, **TWF}
+_ALL = {**SRV, **BOT, **FILES, **IRC, **COFFEE, **VPN, **LIST, **GIT, **TWF, **FEED}
def lookup(args):