⇤ ← Revision 1 as of 2011-07-31 09:14:45
Size: 4759
Comment:
|
Size: 4759
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
Синтаксис: **interface <ifacename>** | Синтаксис: ''interface <ifacename>'' |
Line 11: | Line 11: |
Синтаксис: **subscribe [-utcm <target>] [——user=<username>] [——tag=<tag>] [——club=<club>] [——message=<message>]** | Синтаксис: ''subscribe [-utcm <target>] [——user=<username>] [——tag=<tag>] [——club=<club>] [——message=<message>]'' |
Line 19: | Line 19: |
Синтаксис: **unsubscribe [-utcm <target>] [——user=<username>] [——tag=<tag>] [——club=<club>]** | Синтаксис: ''unsubscribe [-utcm <target>] [——user=<username>] [——tag=<tag>] [——club=<club>]'' |
Line 27: | Line 27: |
Синтаксис: **subscriptions** | Синтаксис: ''subscriptions'' |
Line 35: | Line 35: |
Синтаксис: **feed** | Синтаксис: ''feed'' |
Line 44: | Line 44: |
Синаксис: **show [——user=<user>] [——tag=<tag>] [——club=<club>] [——message=<message>] [-utcm <target>] [——replies|-r]** | Синаксис: ''show [——user=<user>] [——tag=<tag>] [——club=<club>] [——message=<message>] [-utcm <target>] [——replies|-r]'' |
interface
Синтаксис: interface <ifacename>
Смена интерфейса. Единственный аргумент -- имя интерфейса.
Пример: interface redeye
subscribe
Синтаксис: subscribe [-utcm <target>] [——user=<username>] [——tag=<tag>] [——club=<club>] [——message=<message>]
Короткое имя: sub
Подписка на тег, клуб, пользователя или сообщение (ответы на сообщение).
unsubscribe
Синтаксис: unsubscribe [-utcm <target>] [——user=<username>] [——tag=<tag>] [——club=<club>]
Короткое имя: usub
Отписка от тега, клуба, пользователя или сообщения (ответов на сообщение).
subscriptions
Синтаксис: subscriptions
Короткое имя: lsub
Показывает все ваши подписки. Второй столбец - JID, с которого сервис присылает сообщения по этой подписке.
feed
Синтаксис: feed
Короткое имя: f
Лента это сообщения, которые приходили вам по подпискам, рекомендациям и прочее. Лента также включает в себя те сообщения которые были пропущены потому что вы были в OFF.
show
Синаксис: show [——user=<user>] [——tag=<tag>] [——club=<club>] [——message=<message>] [-utcm <target>] [——replies|-r]
Короткое имя: s
Эта команда делает две вещи: ищет сообщения по тегу, пользователю, клубу (каждый критерий поиска только один раз) (опции -u,-t,-c), а также может показать все ответы на сообщение (добавить -r к опции -m, например s -rm ASDFGH).
Тут мне стало обломно писать дальше. Инфа по последующим командам для писателей хелпа:
1 ("post", post_args, command_post.cmd_post, "text", ),
2 ("p", post_args, command_post.cmd_post, "text", ),
3 ("comment", comment_args, command_post.cmd_comment, "text", ),
4 ("c", comment_args, command_post.cmd_comment, "text", ),
5 ("recommend", recommend_args, command_post.cmd_recommend, "comment", ),
6 ("r", recommend_args, command_post.cmd_recommend, "comment", ),
7 ("on", (), command_onoff.cmd_on, ),
8 ("off", (), command_onoff.cmd_off, ),
9 ("delete", delete_args, command_delete.cmd_delete, ),
10 ("d", delete_args, command_delete.cmd_delete, ),
11 ("login", (), command_login.cmd_login, ),
12 ("vcard", (), command_vcard.cmd_vcard, ),
13 ("pm",
14 (
15 ("u", "user", True, u"Target user."),
16 ),
17 command_pm.cmd_pm,
18 "text",
19 ),
20
21 subscribe_args = (
22 ("m", "message", True, u"Subscribe to message."),
23 ("u", "user", True, u"Subscribe to user."),
24 ("t", "tag", True, u"Subscribe to tag."),
25 ("c", "club", True, u"Subscribe to club."),
26 )
27 show_args = (
28 ("m", "message", True, u"Show specified message."),
29 ("u", "user", True, u"Show user's posts."),
30 ("t", "tag", True, u"Show posts with tag."),
31 ("c", "club", True, u"Show club posts."),
32 ("p", "page", True, u"Results page (from 0)."),
33 ("r", "replies", False, u"Include replies in output (only with -m)."),
34 )
35 post_args = (
36 ("s", "notop", False, u"Post cannot be bumped to top."), # no-op
37 ("t", "tags", True, u"Mark post with this tag(s) (comma-separated)."),
38 ("c", "clubs", True, u"Post to this club(s) (comma-separated)."),
39 ("a", "anonymous", False, u"Anonymous post."),
40 ("q", "anonymous-comments", False, u"Make all comments to this post anonymous (doesn''t work at all yet)."),
41 )
42 comment_args = (
43 ("m", "message", True, u"Message to comment."),
44 ("a", "anonymous", False, u"Anonymous comment."),
45 )
46 recommend_args = (
47 ("m", "message", True, u"Message to recommend."),
48 )
49 delete_args = (
50 ('m', 'message',True,'Message or comment to delete.'),
51 )