lib/ayadn/descriptions.rb in ayadn-1.0.13 vs lib/ayadn/descriptions.rb in ayadn-1.1.0

- old
+ new

@@ -11,10 +11,13 @@ "Use an ordered index instead of the posts ids" end def self.options_raw "Outputs the App.net raw JSON response" end + def self.options_extract + "Extract links from each object" + end def self.unified <<-USAGE Show your App.net timeline, aka the Unified Stream. Basic usage: @@ -493,10 +496,24 @@ ayadn -D 23365251 \n\n USAGE end + def self.delete_m + <<-USAGE + Delete a message (private message or message in a channel). + + Usage: + + ayadn delete_m 42666 3365251 + + ayadn -DM 42666 3365251 + + ayadn -DM my_channel_alias 3365251 + \n\n + USAGE + end def self.unfollow <<-USAGE Unfollow a user. Usage: @@ -909,10 +926,12 @@ end def self.blacklist_add <<-USAGE Adds a mention, hashtag or client to your blacklist. + You don't have to respect the case as all data is recorded downcase. + Usage: ayadn blacklist add mention @shmuck ayadn -K add mention @shmuck @@ -927,10 +946,12 @@ end def self.blacklist_remove <<-USAGE Removes a mention, hashtag or client from your blacklist. + You don't have to respect the case as all data is recorded downcase. + Usage: ayadn blacklist remove mention @shmuck ayadn -K remove mention @shmuck @@ -948,9 +969,21 @@ Usage: ayadn blacklist import '/Users/blah/ayadn/blah/db/blacklist.db' ayadn -K import '/Users/blah/backups/blacklist.db' + \n\n + USAGE + end + def self.blacklist_convert + <<-USAGE + Convert your current blacklist database to the new format. Useful if you used the blacklist command prior to Ayadn 10.0.13. + + Usage: + + ayadn blacklist convert + + ayadn -K convert \n\n USAGE end def self.blacklist_list <<-USAGE