Class: Ayadn::Descriptions
- Inherits:
-
Object
- Object
- Ayadn::Descriptions
- Defined in:
- lib/ayadn/descriptions.rb
Class Method Summary collapse
- .alias ⇒ Object
- .alias_create ⇒ Object
- .alias_delete ⇒ Object
- .alias_import ⇒ Object
- .alias_list ⇒ Object
- .authorize ⇒ Object
- .auto ⇒ Object
- .blacklist ⇒ Object
- .blacklist_add ⇒ Object
- .blacklist_convert ⇒ Object
- .blacklist_import ⇒ Object
- .blacklist_list ⇒ Object
- .blacklist_remove ⇒ Object
- .block ⇒ Object
- .blocked ⇒ Object
- .channels ⇒ Object
- .checkins ⇒ Object
- .conversations ⇒ Object
- .convo ⇒ Object
- .delete ⇒ Object
- .delete_m ⇒ Object
- .download ⇒ Object
- .files ⇒ Object
- .follow ⇒ Object
- .followers ⇒ Object
- .followings ⇒ Object
- .global ⇒ Object
- .hashtag ⇒ Object
- .interactions ⇒ Object
- .mark ⇒ Object
- .mark_add ⇒ Object
- .mark_delete ⇒ Object
- .mark_list ⇒ Object
- .mark_rename ⇒ Object
- .mentions ⇒ Object
- .messages ⇒ Object
- .mute ⇒ Object
- .muted ⇒ Object
- .nowplaying ⇒ Object
- .options_count ⇒ Object
- .options_extract ⇒ Object
- .options_index ⇒ Object
- .options_new ⇒ Object
- .options_raw ⇒ Object
- .photos ⇒ Object
- .pin ⇒ Object
- .pmess ⇒ Object
- .post ⇒ Object
- .postinfo ⇒ Object
- .posts ⇒ Object
- .random_posts ⇒ Object
- .reply ⇒ Object
- .repost ⇒ Object
- .search ⇒ Object
- .send_to_channel ⇒ Object
- .set ⇒ Object
- .set_backup ⇒ Object
- .set_color ⇒ Object
- .set_counts ⇒ Object
- .set_defaults ⇒ Object
- .set_nicerank ⇒ Object
- .set_timeline ⇒ Object
- .settings ⇒ Object
- .star ⇒ Object
- .switch ⇒ Object
- .trending ⇒ Object
- .unblock ⇒ Object
- .unfollow ⇒ Object
- .unified ⇒ Object
- .unmute ⇒ Object
- .unrepost ⇒ Object
- .unstar ⇒ Object
- .userinfo ⇒ Object
- .whatstarred ⇒ Object
- .whoreposted ⇒ Object
- .whostarred ⇒ Object
- .write ⇒ Object
Class Method Details
.alias ⇒ Object
869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'lib/ayadn/descriptions.rb', line 869 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_create ⇒ Object
889 890 891 892 893 894 895 896 897 898 899 900 901 902 |
# File 'lib/ayadn/descriptions.rb', line 889 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_delete ⇒ Object
903 904 905 906 907 908 909 910 911 912 913 914 |
# File 'lib/ayadn/descriptions.rb', line 903 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_import ⇒ Object
915 916 917 918 919 920 921 922 923 924 925 926 |
# File 'lib/ayadn/descriptions.rb', line 915 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_list ⇒ Object
927 928 929 930 931 932 933 934 935 936 937 938 |
# File 'lib/ayadn/descriptions.rb', line 927 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" |
.authorize ⇒ Object
1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 |
# File 'lib/ayadn/descriptions.rb', line 1147 def self. " 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" |
.auto ⇒ Object
1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 |
# File 'lib/ayadn/descriptions.rb', line 1181 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" |
.blacklist ⇒ Object
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 |
# File 'lib/ayadn/descriptions.rb', line 1015 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_add ⇒ Object
1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 |
# File 'lib/ayadn/descriptions.rb', line 1043 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_convert ⇒ Object
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'lib/ayadn/descriptions.rb', line 1093 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_import ⇒ Object
1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 |
# File 'lib/ayadn/descriptions.rb', line 1081 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_list ⇒ Object
1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 |
# File 'lib/ayadn/descriptions.rb', line 1105 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_remove ⇒ Object
1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 |
# File 'lib/ayadn/descriptions.rb', line 1063 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" |
.block ⇒ Object
663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'lib/ayadn/descriptions.rb', line 663 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" |
.blocked ⇒ Object
385 386 387 388 389 390 391 392 393 394 395 396 |
# File 'lib/ayadn/descriptions.rb', line 385 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" |
.channels ⇒ Object
675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'lib/ayadn/descriptions.rb', line 675 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" |
.checkins ⇒ Object
51 52 53 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 |
# File 'lib/ayadn/descriptions.rb', line 51 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" |
.conversations ⇒ Object
181 182 183 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 |
# File 'lib/ayadn/descriptions.rb', line 181 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" |
.convo ⇒ Object
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 |
# File 'lib/ayadn/descriptions.rb', line 329 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" |
.delete ⇒ Object
529 530 531 532 533 534 535 536 537 538 539 540 |
# File 'lib/ayadn/descriptions.rb', line 529 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_m ⇒ Object
541 542 543 544 545 546 547 548 549 550 551 552 553 554 |
# File 'lib/ayadn/descriptions.rb', line 541 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" |
.download ⇒ Object
939 940 941 942 943 944 945 946 947 948 949 950 951 952 |
# File 'lib/ayadn/descriptions.rb', line 939 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" |
.files ⇒ Object
507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 |
# File 'lib/ayadn/descriptions.rb', line 507 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" |
.follow ⇒ Object
639 640 641 642 643 644 645 646 647 648 649 650 |
# File 'lib/ayadn/descriptions.rb', line 639 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" |
.followers ⇒ Object
361 362 363 364 365 366 367 368 369 370 371 372 |
# File 'lib/ayadn/descriptions.rb', line 361 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" |
.followings ⇒ Object
349 350 351 352 353 354 355 356 357 358 359 360 |
# File 'lib/ayadn/descriptions.rb', line 349 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" |
.global ⇒ Object
83 84 85 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 |
# File 'lib/ayadn/descriptions.rb', line 83 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" |
.hashtag ⇒ Object
397 398 399 400 401 402 403 404 405 406 407 408 |
# File 'lib/ayadn/descriptions.rb', line 397 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" |
.interactions ⇒ Object
293 294 295 296 297 298 299 300 301 302 303 304 |
# File 'lib/ayadn/descriptions.rb', line 293 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" |
.mark ⇒ Object
953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 |
# File 'lib/ayadn/descriptions.rb', line 953 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_add ⇒ Object
971 972 973 974 975 976 977 978 979 980 981 982 983 984 |
# File 'lib/ayadn/descriptions.rb', line 971 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_delete ⇒ Object
995 996 997 998 999 1000 1001 1002 1003 1004 |
# File 'lib/ayadn/descriptions.rb', line 995 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_list ⇒ Object
985 986 987 988 989 990 991 992 993 994 |
# File 'lib/ayadn/descriptions.rb', line 985 def self.mark_list " List your bookmarked conversations.\n\n Usage:\n\n ayadn mark list\n \\n\\n\n USAGE\nend\n" |
.mark_rename ⇒ Object
1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 |
# File 'lib/ayadn/descriptions.rb', line 1005 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" |
.mentions ⇒ Object
213 214 215 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 |
# File 'lib/ayadn/descriptions.rb', line 213 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" |
.messages ⇒ Object
687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 |
# File 'lib/ayadn/descriptions.rb', line 687 def self. " 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" |
.mute ⇒ Object
651 652 653 654 655 656 657 658 659 660 661 662 |
# File 'lib/ayadn/descriptions.rb', line 651 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" |
.muted ⇒ Object
373 374 375 376 377 378 379 380 381 382 383 384 |
# File 'lib/ayadn/descriptions.rb', line 373 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" |
.nowplaying ⇒ Object
1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 |
# File 'lib/ayadn/descriptions.rb', line 1117 def self. " 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" |
.options_count ⇒ Object
7 8 9 |
# File 'lib/ayadn/descriptions.rb', line 7 def self. "Specify the number of posts to retrieve" end |
.options_extract ⇒ Object
16 17 18 |
# File 'lib/ayadn/descriptions.rb', line 16 def self. "Extract links from each object" end |
.options_index ⇒ Object
10 11 12 |
# File 'lib/ayadn/descriptions.rb', line 10 def self. "Use an ordered index instead of the posts ids" end |
.options_new ⇒ Object
4 5 6 |
# File 'lib/ayadn/descriptions.rb', line 4 def self. "Retrieve only new posts since your last visit" end |
.options_raw ⇒ Object
13 14 15 |
# File 'lib/ayadn/descriptions.rb', line 13 def self. "Outputs the App.net raw JSON response" end |
.photos ⇒ Object
149 150 151 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 |
# File 'lib/ayadn/descriptions.rb', line 149 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" |
.pin ⇒ Object
713 714 715 716 717 718 719 720 721 722 |
# File 'lib/ayadn/descriptions.rb', line 713 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" |
.pmess ⇒ Object
755 756 757 758 759 760 761 762 763 764 765 766 |
# File 'lib/ayadn/descriptions.rb', line 755 def self.pmess " Send a private message to @username.\n\n Usage:\n\n ayadn pm @ericd\n\n It enters the writing mode where you will type your message.\n \\n\\n\n USAGE\nend\n" |
.post ⇒ Object
723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 |
# File 'lib/ayadn/descriptions.rb', line 723 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 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\\n\n USAGE\nend\n" |
.postinfo ⇒ Object
495 496 497 498 499 500 501 502 503 504 505 506 |
# File 'lib/ayadn/descriptions.rb', line 495 def self.postinfo " 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" |
.posts ⇒ Object
241 242 243 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 |
# File 'lib/ayadn/descriptions.rb', line 241 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_posts ⇒ Object
1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 |
# File 'lib/ayadn/descriptions.rb', line 1131 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" |
.reply ⇒ Object
783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 |
# File 'lib/ayadn/descriptions.rb', line 783 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.\n\n Example: ayadn -R 3\n \\n\\n\n USAGE\nend\n" |
.repost ⇒ Object
627 628 629 630 631 632 633 634 635 636 637 638 |
# File 'lib/ayadn/descriptions.rb', line 627 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" |
.search ⇒ Object
409 410 411 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 |
# File 'lib/ayadn/descriptions.rb', line 409 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_channel ⇒ Object
767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 |
# File 'lib/ayadn/descriptions.rb', line 767 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" |
.set ⇒ Object
805 806 807 808 809 810 811 812 813 814 |
# File 'lib/ayadn/descriptions.rb', line 805 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_backup ⇒ Object
831 832 833 834 835 836 837 838 |
# File 'lib/ayadn/descriptions.rb', line 831 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_color ⇒ Object
815 816 817 818 819 820 821 822 |
# File 'lib/ayadn/descriptions.rb', line 815 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_counts ⇒ Object
839 840 841 842 843 844 845 846 |
# File 'lib/ayadn/descriptions.rb', line 839 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_defaults ⇒ Object
861 862 863 864 865 866 867 868 |
# File 'lib/ayadn/descriptions.rb', line 861 def self.set_defaults " Sets back the configuration to default values.\n\n ayadn set defaults\n \\n\\n\n USAGE\nend\n" |
.set_nicerank ⇒ Object
847 848 849 850 851 852 853 854 855 856 857 858 859 860 |
# File 'lib/ayadn/descriptions.rb', line 847 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_timeline ⇒ Object
823 824 825 826 827 828 829 830 |
# File 'lib/ayadn/descriptions.rb', line 823 def self.set_timeline " Set ITEM to true or false.\n\n Example: ayadn set directed true\n \\n\\n\n USAGE\nend\n" |
.settings ⇒ Object
471 472 473 474 475 476 477 478 479 480 481 482 |
# File 'lib/ayadn/descriptions.rb', line 471 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" |
.star ⇒ Object
615 616 617 618 619 620 621 622 623 624 625 626 |
# File 'lib/ayadn/descriptions.rb', line 615 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" |
.switch ⇒ Object
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 |
# File 'lib/ayadn/descriptions.rb', line 1165 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" |
.trending ⇒ Object
117 118 119 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 |
# File 'lib/ayadn/descriptions.rb', line 117 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" |
.unblock ⇒ Object
579 580 581 582 583 584 585 586 587 588 589 590 |
# File 'lib/ayadn/descriptions.rb', line 579 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" |
.unfollow ⇒ Object
555 556 557 558 559 560 561 562 563 564 565 566 |
# File 'lib/ayadn/descriptions.rb', line 555 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" |
.unified ⇒ Object
19 20 21 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 |
# File 'lib/ayadn/descriptions.rb', line 19 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" |
.unmute ⇒ Object
567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'lib/ayadn/descriptions.rb', line 567 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" |
.unrepost ⇒ Object
591 592 593 594 595 596 597 598 599 600 601 602 |
# File 'lib/ayadn/descriptions.rb', line 591 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" |
.unstar ⇒ Object
603 604 605 606 607 608 609 610 611 612 613 614 |
# File 'lib/ayadn/descriptions.rb', line 603 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" |
.userinfo ⇒ Object
483 484 485 486 487 488 489 490 491 492 493 494 |
# File 'lib/ayadn/descriptions.rb', line 483 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" |
.whatstarred ⇒ Object
269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 |
# File 'lib/ayadn/descriptions.rb', line 269 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" |
.whoreposted ⇒ Object
305 306 307 308 309 310 311 312 313 314 315 316 |
# File 'lib/ayadn/descriptions.rb', line 305 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" |
.whostarred ⇒ Object
317 318 319 320 321 322 323 324 325 326 327 328 |
# File 'lib/ayadn/descriptions.rb', line 317 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" |
.write ⇒ Object
741 742 743 744 745 746 747 748 749 750 751 752 753 754 |
# File 'lib/ayadn/descriptions.rb', line 741 def self.write " Multi-line post to App.net.\n\n Usage:\n\n ayadn write\n\n ayadn -W\n\n It enters the writing mode where you will type your post.\n \\n\\n\n USAGE\nend\n" |