Class: Ayadn::Descriptions

Inherits:
Object
  • Object
show all
Defined in:
lib/ayadn/descriptions.rb

Class Method Summary collapse

Class Method Details

.aliasObject



946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
# File 'lib/ayadn/descriptions.rb', line 946

def self.alias
  "  Manage your channel aliases. Commands: create, delete, list, import.\n\n  Usage:\n\n  ayadn alias list\n\n  ayadn -A list\n\n  ayadn -A create 33666 my_alias\n\n  ayadn -A delete my_alias\n\n  ayadn -A import '/Users/blah/backups/aliases.db'\n\n  (Once an alias is set, you can display the messages in this channel with 'ayadn -ms my_alias', post to it with 'ayadn -C my_alias', etc)\n  \\n\\n\n  USAGE\nend\n"

.alias_createObject



966
967
968
969
970
971
972
973
974
975
976
977
978
979
# File 'lib/ayadn/descriptions.rb', line 966

def self.alias_create
  "  Creates an alias for a channel.\n\n  Usage:\n\n  ayadn alias create 33666 my_alias\n\n  ayadn -A create 33666 my_alias\n\n  (Once an alias is set, you can display the messages in this channel with 'ayadn -ms my_alias', post to it with 'ayadn -C my_alias', etc)\n  \\n\\n\n  USAGE\nend\n"

.alias_deleteObject



980
981
982
983
984
985
986
987
988
989
990
991
# File 'lib/ayadn/descriptions.rb', line 980

def self.alias_delete
  "  Deletes a previously created alias.\n\n  Usage:\n\n  ayadn alias delete my_alias\n\n  ayadn -A delete my_alias\n  \\n\\n\n  USAGE\nend\n"

.alias_importObject



992
993
994
995
996
997
998
999
1000
1001
1002
1003
# File 'lib/ayadn/descriptions.rb', line 992

def self.alias_import
  "  Imports an aliases database from a backed up Ayadn account.\n\n  Usage:\n\n  ayadn alias import '/Users/blah/ayadn/blah/db/aliases.db'\n\n  ayadn -A import '/Users/blah/backups/aliases.db'\n  \\n\\n\n  USAGE\nend\n"

.alias_listObject



1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
# File 'lib/ayadn/descriptions.rb', line 1004

def self.alias_list
  "  Lists previously created aliases.\n\n  Usage:\n\n  ayadn alias list\n\n  ayadn -A list\n  \\n\\n\n  USAGE\nend\n"

.authorizeObject



1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
# File 'lib/ayadn/descriptions.rb', line 1310

def self.authorize
  "  Authorize Ayadn to access your App.net account.\n\n  Usage:\n\n  ayadn authorize\n\n  ayadn -auth\n\n  Ayadn will give you a link to an App.net login page.\n\n  After a successful login, you will be redirected to the Ayadn user token page.\n\n  Copy this token and paste it into Ayadn.\n  \\n\\n\n  USAGE\nend\n"

.autoObject



1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
# File 'lib/ayadn/descriptions.rb', line 1344

def self.auto
  "  Auto post every line of input.\n\n  In this mode, each line you type (each time you hit ENTER!) is automatically posted to ADN.\n\n  Hit CTRL+C to exit this mode at any moment.\n  \\n\\n\n  USAGE\nend\n"

.blacklistObject



1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'lib/ayadn/descriptions.rb', line 1092

def self.blacklist
  "  Manage your blacklist. Commands: add, remove, list, import.\n\n  Usage:\n\n  ayadn blacklist list\n\n  ayadn -K list\n\n  ayadn -K add mention @shmuck\n\n  ayadn blacklist add hashtag sports\n\n  ayadn -K add client IFTTT\n\n  ayadn -K add client 'Spammy Unknown Client'\n\n  ayadn blacklist remove mention @shmuck\n\n  ayadn -K remove hashtag sports\n\n  ayadn -K remove client IFTTT\n\n  ayadn -K import '/Users/blah/backups/blacklist.db'\n  \\n\\n\n  USAGE\nend\n"

.blacklist_addObject



1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
# File 'lib/ayadn/descriptions.rb', line 1120

def self.blacklist_add
  "  Adds a mention, hashtag or client to your blacklist.\n\n  You don't have to respect the case as all data is recorded downcase.\n\n  Usage:\n\n  ayadn blacklist add mention @shmuck\n\n  ayadn -K add mention @shmuck\n\n  ayadn -K add hashtag sports\n\n  ayadn -K add client IFTTT\n\n  ayadn -K add client 'Spammy Unknown Client'\n  \\n\\n\n  USAGE\nend\n"

.blacklist_convertObject



1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
# File 'lib/ayadn/descriptions.rb', line 1170

def self.blacklist_convert
  "  Convert your current blacklist database to the new format. Useful if you used the blacklist command prior to Ayadn 10.0.13.\n\n  Usage:\n\n  ayadn blacklist convert\n\n  ayadn -K convert\n  \\n\\n\n  USAGE\nend\n"

.blacklist_importObject



1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
# File 'lib/ayadn/descriptions.rb', line 1158

def self.blacklist_import
  "  Imports a blacklist database from another Ayadn account.\n\n  Usage:\n\n  ayadn blacklist import '/Users/blah/ayadn/blah/db/blacklist.db'\n\n  ayadn -K import '/Users/blah/backups/blacklist.db'\n  \\n\\n\n  USAGE\nend\n"

.blacklist_listObject



1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'lib/ayadn/descriptions.rb', line 1182

def self.blacklist_list
  "  Lists the content of your blacklist.\n\n  Usage:\n\n  ayadn blacklist list\n\n  ayadn -K list\n  \\n\\n\n  USAGE\nend\n"

.blacklist_removeObject



1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
# File 'lib/ayadn/descriptions.rb', line 1140

def self.blacklist_remove
  "  Removes a mention, hashtag or client from your blacklist.\n\n  You don't have to respect the case as all data is recorded downcase.\n\n  Usage:\n\n  ayadn blacklist remove mention @shmuck\n\n  ayadn -K remove mention @shmuck\n\n  ayadn -K remove hashtag sports\n\n  ayadn -K remove client IFTTT\n  \\n\\n\n  USAGE\nend\n"

.blockObject



690
691
692
693
694
695
696
697
698
699
700
701
# File 'lib/ayadn/descriptions.rb', line 690

def self.block
  "  Block a user.\n\n  Usage:\n\n  ayadn block @spammer\n\n  ayadn -BL @spammer\n  \\n\\n\n  USAGE\nend\n"

.blockedObject



388
389
390
391
392
393
394
395
396
397
398
399
# File 'lib/ayadn/descriptions.rb', line 388

def self.blocked
  "  List the users you blocked.\n\n  Usage:\n\n  ayadn blocked\n\n  ayadn -bkd\n  \\n\\n\n  USAGE\nend\n"

.channelsObject



702
703
704
705
706
707
708
709
710
711
712
713
# File 'lib/ayadn/descriptions.rb', line 702

def self.channels
  "  List your active channels.\n\n  Usage:\n\n  ayadn channels\n\n  ayadn -ch\n  \\n\\n\n  USAGE\nend\n"

.checkinsObject



54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# File 'lib/ayadn/descriptions.rb', line 54

def self.checkins
  "  Show the Checkins Stream.\n\n  Basic usage:\n\n  ayadn checkins\n\n  ayadn -ck\n\n  Retrieves only 5 posts:\n\n  ayadn -ck -c5\n\n  Shows index instead of post numbers:\n\n  ayadn -ck -i\n\n  Shows index and retrieves 30 posts:\n\n  ayadn -ck -i -c30\n\n  Scroll the stream:\n\n  ayadn -ck -s\n\n  Show only new posts:\n\n  ayadn -ck -n\n  \\n\\n\n  USAGE\nend\n"

.conversationsObject



184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
# File 'lib/ayadn/descriptions.rb', line 184

def self.conversations
  "  Show the Conversations Stream.\n\n  Basic usage:\n\n  ayadn conversations\n\n  ayadn -cq\n\n  Retrieves only 5 posts:\n\n  ayadn -cq -c5\n\n  Shows index instead of post numbers:\n\n  ayadn -cq -i\n\n  Shows index and retrieves 30 posts:\n\n  ayadn -cq -i -c30\n\n  Scroll the stream:\n\n  ayadn -cq -s\n\n  Show only new posts:\n\n  ayadn -cq -n\n  \\n\\n\n  USAGE\nend\n"

.convoObject



332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
# File 'lib/ayadn/descriptions.rb', line 332

def self.convo
  "  Show the conversation thread around post n\u00B0POST.\n\n  Usage:\n\n  ayadn convo 23362788\n\n  ayadn -co 23362788\n\n  Show index instead of post numbers:\n\n  ayadn -co -i 23362788\n\n  Scroll the conversation:\n\n  ayadn -co -s 23362788\n  \\n\\n\n  USAGE\nend\n"

.deleteObject



556
557
558
559
560
561
562
563
564
565
566
567
# File 'lib/ayadn/descriptions.rb', line 556

def self.delete
  "  Delete a post.\n\n  Usage:\n\n  ayadn delete 23365251\n\n  ayadn -D 23365251\n  \\n\\n\n  USAGE\nend\n"

.delete_mObject



568
569
570
571
572
573
574
575
576
577
578
579
580
581
# File 'lib/ayadn/descriptions.rb', line 568

def self.delete_m
  "  Delete a message (private message or message in a channel).\n\n  Usage:\n\n  ayadn delete_m 42666 3365251\n\n  ayadn -DM 42666 3365251\n\n  ayadn -DM my_channel_alias 3365251\n  \\n\\n\n  USAGE\nend\n"

.downloadObject



1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
# File 'lib/ayadn/descriptions.rb', line 1016

def self.download
  "  Download the file with id FILE.\n\n  Usage:\n\n  ayadn download 23344556\n\n  ayadn -df 23344556\n\n  (you can list your files with 'ayadn -fl')\n  \\n\\n\n  USAGE\nend\n"

.filesObject



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
# File 'lib/ayadn/descriptions.rb', line 534

def self.files
  "  List the files in your ADN storage.\n\n  Basic usage:\n\n  ayadn files\n\n  ayadn -fl\n\n  Retrieves only 5 files:\n\n  ayadn -fl -c5\n\n  Retrieves all files:\n\n  ayadn -fl -a\n\n  You can then download a file with its id: 'ayadn -df 23344556'\n  \\n\\n\n  USAGE\nend\n"

.followObject



666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/ayadn/descriptions.rb', line 666

def self.follow
  "  Follow a user.\n\n  Usage:\n\n  ayadn follow @ericd\n\n  ayadn -FO @ericd\n  \\n\\n\n  USAGE\nend\n"

.followersObject



364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/ayadn/descriptions.rb', line 364

def self.followers
  "  List users following @username.\n\n  Usage:\n\n  ayadn followers @ericd\n\n  ayadn -fwr @ericd\n  \\n\\n\n  USAGE\nend\n"

.followingsObject



352
353
354
355
356
357
358
359
360
361
362
363
# File 'lib/ayadn/descriptions.rb', line 352

def self.followings
  "  List users @username is following.\n\n  Usage:\n\n  ayadn followings @ericd\n\n  ayadn -fwg @ericd\n  \\n\\n\n  USAGE\nend\n"

.globalObject



86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# File 'lib/ayadn/descriptions.rb', line 86

def self.global
  "  Show the Global Stream.\n\n  Basic usage:\n\n  ayadn global\n\n  ayadn -gl\n\n  Retrieves only 5 posts:\n\n  ayadn -gl -c5\n\n  Shows index instead of post numbers:\n\n  ayadn -gl -i\n\n  Shows index and retrieves 30 posts:\n\n  ayadn -gl -i -c30\n\n  Scroll the stream:\n\n  ayadn -gl -s\n\n  Show only new posts:\n\n  ayadn -gl -n\n\n  See `ayadn set` for the NiceRank filter.\n  \\n\\n\n  USAGE\nend\n"

.hashtagObject



400
401
402
403
404
405
406
407
408
409
410
411
# File 'lib/ayadn/descriptions.rb', line 400

def self.hashtag
  "  Show recent posts containing HASHTAG.\n\n  Usage:\n\n  ayadn hashtag thememonday\n\n  ayadn -t thememonday\n  \\n\\n\n  USAGE\nend\n"

.interactionsObject



296
297
298
299
300
301
302
303
304
305
306
307
# File 'lib/ayadn/descriptions.rb', line 296

def self.interactions
  "  Show your recent ADN interactions.\n\n  Usage:\n\n  ayadn interactions\n\n  ayadn -int\n  \\n\\n\n  USAGE\nend\n"

.markObject



1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
# File 'lib/ayadn/descriptions.rb', line 1030

def self.mark
  "  Bookmark a conversation and manage your bookmarks.\n\n  Usage:\n\n  ayadn mark add 30594331\n\n  ayadn mark add 30594331 convo_name\n\n  ayadn mark list\n\n  ayadn mark delete 30594331\n\n  ayadn mark rename 'convo name' 'other name'\n  \\n\\n\n  USAGE\nend\n"

.mark_addObject



1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
# File 'lib/ayadn/descriptions.rb', line 1048

def self.mark_add
  "  Add a conversation to your conversations bookmarks.\n\n  Usage:\n\n  ayadn mark add 30594331\n\n  ayadn mark add 30594331 'title'\n\n  You don't have to specify the root post of the conversation, any post within the thread will work.\n  \\n\\n\n  USAGE\nend\n"

.mark_deleteObject



1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
# File 'lib/ayadn/descriptions.rb', line 1072

def self.mark_delete
  "  Delete entry from your bookmarked conversations.\n\n  Usage:\n\n  ayadn mark delete 30594331\n  \\n\\n\n  USAGE\nend\n"

.mark_listObject



1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
# File 'lib/ayadn/descriptions.rb', line 1062

def self.mark_list
  "  List your bookmarked conversations.\n\n  Usage:\n\n  ayadn mark list\n  \\n\\n\n  USAGE\nend\n"

.mark_renameObject



1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/ayadn/descriptions.rb', line 1082

def self.mark_rename
  "  Rename a bookmarked conversation.\n\n  Usage:\n\n  ayadn mark rename 30594331 'new title'\n  \\n\\n\n  USAGE\nend\n"

.mentionsObject



216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'lib/ayadn/descriptions.rb', line 216

def self.mentions
  "  Show posts containing a mention of @username.\n\n  Basic usage:\n\n  ayadn mentions @ericd\n\n  ayadn -m @ericd\n\n  Retrieves only 5 posts:\n\n  ayadn -m -c5 @ericd\n\n  Shows index instead of post numbers:\n\n  ayadn -m -i @ericd\n\n  Shows index and retrieves 30 posts:\n\n  ayadn -m -i -c30 @ericd\n\n  Scroll mentions:\n\n  ayadn -m -s @ericd\n  \\n\\n\n  USAGE\nend\n"

.messagesObject



714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
# File 'lib/ayadn/descriptions.rb', line 714

def self.messages
  "  Show recent messages in a channel.\n\n  Basic usage:\n\n  ayadn messages 46217\n\n  ayadn -ms 46217\n\n  Retrieves only 5 messages:\n\n  ayadn -ms -c5 46217\n\n  Retrieves only new messages:\n\n  ayadn -ms -n 46217\n\n  Scroll messages:\n\n  ayadn -ms -s 46217\n\n  If you've set an alias for the channel, you can display its messages with 'ayadn -ms my_alias'\n  \\n\\n\n  USAGE\nend\n"

.muteObject



678
679
680
681
682
683
684
685
686
687
688
689
# File 'lib/ayadn/descriptions.rb', line 678

def self.mute
  "  Mute a user.\n\n  Usage:\n\n  ayadn mute @spammer\n\n  ayadn -MU @spammer\n  \\n\\n\n  USAGE\nend\n"

.mutedObject



376
377
378
379
380
381
382
383
384
385
386
387
# File 'lib/ayadn/descriptions.rb', line 376

def self.muted
  "  List the users you muted.\n\n  Usage:\n\n  ayadn muted\n\n  ayadn -mtd\n  \\n\\n\n  USAGE\nend\n"

.nowplayingObject



1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
# File 'lib/ayadn/descriptions.rb', line 1194

def self.nowplaying
  "  Post the track you're listening to.\n\n  Usage:\n\n  ayadn nowplaying\n\n  ayadn -np\n\n  (works only with iTunes and Mac Os X)\n  \\n\\n\n  USAGE\nend\n"

.nowwatchingObject



1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
# File 'lib/ayadn/descriptions.rb', line 1208

def self.nowwatching
  "  Create a post from (part of) a movie title. Includes movie poster and IMDb url.\n\n  Usage:\n\n  ayadn movie ghost in the shell\n\n  ayadn movie existenz\n\n  ayadn -NW beetlejuice\n\n  (shortcut is 'NW' because of 'nowwatching')\n\n  If the movie is not the one you're looking for, you can specify the 'alt' option to force find an alternative.\n\n  This is useful for remakes:\n\n  ayadn -NW solaris\n\n  (gives the 2002 version)\n\n  ayadn -NW solaris --alt\n\n  (gives the 1972 version)\n\n  Aliases:\n\n  ayadn nowwatching godfather II\n\n  ayadn imdb -a conan\n\n  Hashtag:\n\n  You can modify the hashtag with 'set':\n\n  ayadn set movie hashtag movietime\n\n  ayadn set movie hashtag adnmovieclub\n\n  (default is 'nowwatching')\n  \\n\\n\n  USAGE\nend\n"

.options_countObject



7
8
9
# File 'lib/ayadn/descriptions.rb', line 7

def self.options_count
  "Specify the number of posts to retrieve"
end

.options_extractObject



16
17
18
# File 'lib/ayadn/descriptions.rb', line 16

def self.options_extract
  "Extract links from each object"
end

.options_forceObject



19
20
21
# File 'lib/ayadn/descriptions.rb', line 19

def self.options_force
  "Force retrieve posts if the user is muted/blocked"
end

.options_indexObject



10
11
12
# File 'lib/ayadn/descriptions.rb', line 10

def self.options_index
  "Use an ordered index instead of the posts ids"
end

.options_newObject



4
5
6
# File 'lib/ayadn/descriptions.rb', line 4

def self.options_new
  "Retrieve only new posts since your last visit"
end

.options_rawObject



13
14
15
# File 'lib/ayadn/descriptions.rb', line 13

def self.options_raw
  "Outputs the App.net raw JSON response"
end

.photosObject



152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# File 'lib/ayadn/descriptions.rb', line 152

def self.photos
  "  Show the Photos Stream.\n\n  Basic usage:\n\n  ayadn photos\n\n  ayadn -ph\n\n  Retrieves only 5 posts:\n\n  ayadn -ph -c5\n\n  Shows index instead of post numbers:\n\n  ayadn -ph -i\n\n  Shows index and retrieves 30 posts:\n\n  ayadn -ph -i -c30\n\n  Scroll the stream:\n\n  ayadn -ph -s\n\n  Show only new posts:\n\n  ayadn -ph -n\n  \\n\\n\n  USAGE\nend\n"

.pinObject



740
741
742
743
744
745
746
747
748
749
# File 'lib/ayadn/descriptions.rb', line 740

def self.pin
  "  Export a POST's link and text with tags to Pinboard.\n\n  Usage:\n\n  ayadn pin 23365251 screenshot iterm\n  \\n\\n\n  USAGE\nend\n"

.pmessObject



814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
# File 'lib/ayadn/descriptions.rb', line 814

def self.pmess
  "  Send a private message to @username.\n\n  Usage:\n\n  ayadn pm @ericd\n\n  Embed a picture:\n\n  ayadn pm -E ~/Pics/lolcat.jpg\n\n  It enters the writing mode where you will type your message.\n  \\n\\n\n  USAGE\nend\n"

.postObject



750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
# File 'lib/ayadn/descriptions.rb', line 750

def self.post
  "  Simple post to App.net.\n\n  Usage:\n\n  ayadn post 'Hello from Ayadn!'\n\n  ayadn -P 'Hello from Ayadn!'\n\n  ayadn -P Watching a movie with friends\n\n  Embed a picture:\n\n  ayadn -P \"lol cat\" -E ~/Pics/lolcat.jpg\n\n  You don't have to put quotes around your text, but it's better to do it.\n\n  The 'write' method is recommended over this one: it's more secure and offers multi-line support.\n\n  Embed an online video:\n\n  ayadn -P wave function -Y https://www.youtube.com/watch?v=Ei8CFin00PY\n\n  ayadn -P wargarbl -V http://vimeo.com/123234345\n\n  Embed a movie poster:\n\n  ayadn -P \"I'll be back\" -M terminator\n\n  (This is different from the 'movie' command, check the docs.)\n  \\n\\n\n  USAGE\nend\n"

.postinfoObject



522
523
524
525
526
527
528
529
530
531
532
533
# File 'lib/ayadn/descriptions.rb', line 522

def self.
  "  Show detailed informations about post n\u00B0POST.\n\n  Usage:\n\n  ayadn postinfo 23365251\n\n  ayadn -pi 23365251\n  \\n\\n\n  USAGE\nend\n"

.postsObject



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
# File 'lib/ayadn/descriptions.rb', line 244

def self.posts
  "  Show @username's posts.\n\n  Basic usage:\n\n  ayadn userposts @ericd\n\n  ayadn -up @ericd\n\n  Retrieves only 5 posts:\n\n  ayadn -up -c5 @ericd\n\n  Shows index instead of post numbers:\n\n  ayadn -up -i @ericd\n\n  Shows index and retrieves 30 posts:\n\n  ayadn -up -i -c30 @ericd\n\n  Scroll posts:\n\n  ayadn -up -s @ericd\n  \\n\\n\n  USAGE\nend\n"

.random_postsObject



1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
# File 'lib/ayadn/descriptions.rb', line 1294

def self.random_posts
  "  Show random posts from App.net.\n\n  Usage:\n\n  ayadn random\n\n  ayadn -rnd\n\n  With 'wait 2 seconds' option:\n\n  ayadn -rnd -w2\n  \\n\\n\n  USAGE\nend\n"

.replyObject



846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
# File 'lib/ayadn/descriptions.rb', line 846

def self.reply
  "  Reply to post n\u00B0POST.\n\n  Usage:\n\n  ayadn reply 23365251\n\n  ayadn -R 23365251\n\n  It enters the writing mode where you will type your reply.\n\n  Mentions and/or username will be detected and your text will be inserted appropriately.\n\n  If you reply to a repost, Ayadn will automatically replace it by the original post.\n\n  If you just viewed a stream with the -i (--index) option, you can also reply to a post by its index (ex: ayadn -R 3).\n\n  Embed a picture in a reply:\n\n  ayadn -R 23365251 -E ~/Pics/lolcat.jpg\n\n  Embed an online video:\n\n  ayadn -P wave function -Y https://www.youtube.com/watch?v=Ei8CFin00PY\n\n  ayadn -P wargarbl -V http://vimeo.com/123234345\n\n  Embed a movie poster:\n\n  ayadn -P \"I'll be back\" -M terminator\n\n  (This is different from the 'movie' command, check the docs.)\n  \\n\\n\n  USAGE\nend\n"

.repostObject



654
655
656
657
658
659
660
661
662
663
664
665
# File 'lib/ayadn/descriptions.rb', line 654

def self.repost
  "  Repost a post.\n\n  Usage:\n\n  ayadn repost 23365251\n\n  ayadn -O 23365251\n  \\n\\n\n  USAGE\nend\n"

.searchObject



412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
# File 'lib/ayadn/descriptions.rb', line 412

def self.search
  "  Show recents posts containing WORD(S).\n\n  # Basic usage\n\n  ayadn search screenshot iterm\n\n  ayadn search screenshot iterm\n\n  Retrieves only 5 posts:\n\n  ayadn search -c5 screenshot iterm\n\n  Shows index instead of post numbers:\n\n  ayadn search -i screenshot iterm\n\n  Shows index and retrieves 30 posts:\n\n  ayadn search -i -c30 screenshot iterm\n\n  # Advanced usage\n\n  ## Messages\n\n  Search for WORD(S) in messages, including PMs.\n\n  You have to specify a channel id (or an alias).\n\n  Usage:\n\n  ayadn search --messages 33642 ipad movies\n\n  ayadn search --messages my_alias ipad movies\n\n  ## Users\n\n  Search for App.net users by searching WORD(S) in their bio/description.\n\n  Usage:\n\n  ayadn search --users anime\n\n  ## Channels\n\n  Search for App.net channels by searching WORD(S) in their description.\n\n  Usage:\n\n  ayadn search --channels movies\n\n  ## Annotations\n\n  Search for posts containing a specific App.net annotation.\n\n  Usage:\n\n  ayadn search --annotations net.app.core.crosspost\n  \\n\\n\n  USAGE\nend\n"

.send_to_channelObject



830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
# File 'lib/ayadn/descriptions.rb', line 830

def self.send_to_channel
  "  Send a message to a channel.\n\n  Usage:\n\n  ayadn send 46217\n\n  ayadn -C 46217\n\n  It enters the writing mode where you will type your message.\n\n  If you've set an alias for the channel, you can post to it with 'ayadn -C my_alias'\n  \\n\\n\n  USAGE\nend\n"

.setObject



882
883
884
885
886
887
888
889
890
891
# File 'lib/ayadn/descriptions.rb', line 882

def self.set
  "  Set (configure) a parameter and save it.\n\n  Example: ayadn set color mentions blue\n\n  See the list of configurable parameters with: ayadn -sg\n  \\n\\n\n  USAGE\nend\n"

.set_backupObject



908
909
910
911
912
913
914
915
# File 'lib/ayadn/descriptions.rb', line 908

def self.set_backup
  "  Set ITEM to be activated or not.\n\n  Example: ayadn set auto_save_lists true\n  \\n\\n\n  USAGE\nend\n"

.set_colorObject



892
893
894
895
896
897
898
899
# File 'lib/ayadn/descriptions.rb', line 892

def self.set_color
  "  Set ITEM to color COLOR.\n\n  Example: ayadn set color mentions blue\n  \\n\\n\n  USAGE\nend\n"

.set_countsObject



916
917
918
919
920
921
922
923
# File 'lib/ayadn/descriptions.rb', line 916

def self.set_counts
  "  Set ITEM to retrieve NUMBER of elements by default.\n\n  Example: ayadn set count unified 100\n  \\n\\n\n  USAGE\nend\n"

.set_defaultsObject



938
939
940
941
942
943
944
945
# File 'lib/ayadn/descriptions.rb', line 938

def self.set_defaults
  "  Sets back the configuration to default values.\n\n  ayadn set defaults\n  \\n\\n\n  USAGE\nend\n"

.set_nicerankObject



924
925
926
927
928
929
930
931
932
933
934
935
936
937
# File 'lib/ayadn/descriptions.rb', line 924

def self.set_nicerank
  "  Set NiceRank values.\n\n  Examples:\n\n  ayadn set nicerank filter true\n\n  ayadn set nicerank filter_unranked true\n\n  ayadn set nicerank threshold 2.1\n  \\n\\n\n  USAGE\nend\n"

.set_timelineObject



900
901
902
903
904
905
906
907
# File 'lib/ayadn/descriptions.rb', line 900

def self.set_timeline
  "  Set ITEM to true or false.\n\n  Example: ayadn set directed true\n  \\n\\n\n  USAGE\nend\n"

.settingsObject



474
475
476
477
478
479
480
481
482
483
484
485
# File 'lib/ayadn/descriptions.rb', line 474

def self.settings
  "  List current Ayadn settings.\n\n  Usage:\n\n  ayadn settings\n\n  ayadn -sg\n  \\n\\n\n  USAGE\nend\n"

.starObject



642
643
644
645
646
647
648
649
650
651
652
653
# File 'lib/ayadn/descriptions.rb', line 642

def self.star
  "  Star a post.\n\n  Usage:\n\n  ayadn star 23365251\n\n  ayadn -ST 23365251\n  \\n\\n\n  USAGE\nend\n"

.switchObject



1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
# File 'lib/ayadn/descriptions.rb', line 1328

def self.switch
  "  Switch between already authorized App.net accounts.\n\n  Usage:\n\n  ayadn switch @myotheraccount\n\n  ayadn -@ myotheraccount\n\n  List your authorized accounts:\n\n  ayadn -@ -l\n  \\n\\n\n  USAGE\nend\n"


120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'lib/ayadn/descriptions.rb', line 120

def self.trending
  "  Show the Trending Stream.\n\n  Basic usage:\n\n  ayadn trending\n\n  ayadn -tr\n\n  Retrieves only 5 posts:\n\n  ayadn -tr -c5\n\n  Shows index instead of post numbers:\n\n  ayadn -tr -i\n\n  Shows index and retrieves 30 posts:\n\n  ayadn -tr -i -c30\n\n  Scroll the stream:\n\n  ayadn -tr -s\n\n  Show only new posts:\n\n  ayadn -tr -n\n  \\n\\n\n  USAGE\nend\n"

.tvshowObject



1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
# File 'lib/ayadn/descriptions.rb', line 1252

def self.tvshow
  "  Create a post from (part of) a TV show title. Includes show poster and IMDb url.\n\n  Usage:\n\n  ayadn tvshow magnum\n\n  ayadn tvshow game of thrones\n\n  ayadn -TV 24\n\n  If the show is not the one you're looking for, you can specify the 'alt' option to force find an alternative.\n\n  ayadn -TV whose line\n\n  (gives the US version)\n\n  ayadn -TV whose line --alt\n\n  (gives the UK version)\n\n  Hashtag:\n\n  You can modify the hashtag with 'set':\n\n  ayadn set tvshow hashtag showtime\n\n  ayadn set tvshow hashtag tvshow\n\n  (default is 'nowwatching')\n\n  Banner:\n\n  Use the `--banner` (-b) options to insert a banner instead of a poster:\n\n  ayadn -TV magnum --banner\n\n  ayadn -TV -b magnum\n  \\n\\n\n  USAGE\nend\n"

.unblockObject



606
607
608
609
610
611
612
613
614
615
616
617
# File 'lib/ayadn/descriptions.rb', line 606

def self.unblock
  "  Unblock a user.\n\n  Usage:\n\n  ayadn unblock @notspammeractually\n\n  ayadn -UB @notspammeractually\n  \\n\\n\n  USAGE\nend\n"

.unfollowObject



582
583
584
585
586
587
588
589
590
591
592
593
# File 'lib/ayadn/descriptions.rb', line 582

def self.unfollow
  "  Unfollow a user.\n\n  Usage:\n\n  ayadn unfollow @spammer\n\n  ayadn -UF @spammer\n  \\n\\n\n  USAGE\nend\n"

.unifiedObject



22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/ayadn/descriptions.rb', line 22

def self.unified
  "  Show your App.net timeline, aka the Unified Stream.\n\n  Basic usage:\n\n  ayadn timeline\n\n  ayadn -tl\n\n  Retrieves only 5 posts:\n\n  ayadn -tl -c5\n\n  Shows index instead of post numbers:\n\n  ayadn -tl -i\n\n  Shows index and retrieves 30 posts:\n\n  ayadn -tl -i -c30\n\n  Scroll the stream:\n\n  ayadn -tl -s\n\n  Show only new posts:\n\n  ayadn -tl -n\n  \\n\\n\n  USAGE\nend\n"

.unmuteObject



594
595
596
597
598
599
600
601
602
603
604
605
# File 'lib/ayadn/descriptions.rb', line 594

def self.unmute
  "  Unmute a user.\n\n  Usage:\n\n  ayadn unmute @ericd\n\n  ayadn -UM @ericd\n  \\n\\n\n  USAGE\nend\n"

.unrepostObject



618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/ayadn/descriptions.rb', line 618

def self.unrepost
  "  Unrepost a post.\n\n  Usage:\n\n  ayadn unrepost 23365251\n\n  ayadn -UR 23365251\n  \\n\\n\n  USAGE\nend\n"

.unstarObject



630
631
632
633
634
635
636
637
638
639
640
641
# File 'lib/ayadn/descriptions.rb', line 630

def self.unstar
  "  Unstar a post.\n\n  Usage:\n\n  ayadn unstar 23365251\n\n  ayadn -US 23365251\n  \\n\\n\n  USAGE\nend\n"

.userinfoObject



486
487
488
489
490
491
492
493
494
495
496
497
# File 'lib/ayadn/descriptions.rb', line 486

def self.userinfo
  "  Show detailed informations about @username.\n\n  Usage:\n\n  ayadn userinfo @ericd\n\n  ayadn -ui @ericd\n  \\n\\n\n  USAGE\nend\n"

.userupdateObject



498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
# File 'lib/ayadn/descriptions.rb', line 498

def self.userupdate
  "  Update your user profile.\n\n  Usage:\n\n  ayadn userupdate --bio\n\n  ayadn -U --bio\n\n  ayadn -U --name\n\n  ayadn -U --birthday\n\n  ayadn -U --twitter\n\n  ayadn -U --blog\n\n  ayadn -U --avatar ~/Pics/myface.jpg\n\n  ayadn -U --cover ~/Pics/mycats.jpg\n  \\n\\n\n  USAGE\nend\n"

.whatstarredObject



272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
# File 'lib/ayadn/descriptions.rb', line 272

def self.whatstarred
  "  Show posts starred by @username.\n\n  Basic usage:\n\n  ayadn whatstarred @ericd\n\n  ayadn -was @ericd\n\n  Retrieves only 5 posts:\n\n  ayadn -was -c5 @ericd\n\n  Shows index instead of post numbers:\n\n  ayadn -was -i @ericd\n\n  Shows index and retrieves 30 posts:\n\n  ayadn -was -i -c30 @ericd\n  \\n\\n\n  USAGE\nend\n"

.whorepostedObject



308
309
310
311
312
313
314
315
316
317
318
319
# File 'lib/ayadn/descriptions.rb', line 308

def self.whoreposted
  "  List users who reposted post n\u00B0POST.\n\n  Usage:\n\n  ayadn whoreposted 22790201\n\n  ayadn -wor 22790201\n  \\n\\n\n  USAGE\nend\n"

.whostarredObject



320
321
322
323
324
325
326
327
328
329
330
331
# File 'lib/ayadn/descriptions.rb', line 320

def self.whostarred
  "  List users who starred post n\u00B0POST.\n\n  Usage:\n\n  ayadn whostarred 22790201\n\n  ayadn -wos 22790201\n  \\n\\n\n  USAGE\nend\n"

.writeObject



784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
# File 'lib/ayadn/descriptions.rb', line 784

def self.write
  "  Multi-line post to App.net.\n\n  Usage:\n\n  ayadn write\n\n  ayadn -W\n\n  Embed a picture:\n\n  ayadn -W -E ~/Pics/lolcat.jpg\n\n  It enters the writing mode where you will type your post.\n\n  Embed an online video:\n\n  ayadn -P wave function -Y https://www.youtube.com/watch?v=Ei8CFin00PY\n\n  ayadn -P wargarbl -V http://vimeo.com/123234345\n\n  Embed a movie poster:\n\n  ayadn -P \"I'll be back\" -M terminator\n\n  (This is different from the 'movie' command, check the docs.)\n  \\n\\n\n  USAGE\nend\n"