lib/ayadn/descriptions.rb in ayadn-1.6.0 vs lib/ayadn/descriptions.rb in ayadn-1.7.0

- old
+ new

@@ -14,10 +14,13 @@ "Outputs the App.net raw JSON response" end def self.options_extract "Extract links from each object" end + def self.options_force + "Force retrieve posts if the user is muted/blocked" + end def self.unified <<-USAGE Show your App.net timeline, aka the Unified Stream. Basic usage: @@ -730,13 +733,29 @@ ayadn -P 'Hello from Ayadn!' ayadn -P Watching a movie with friends + Embed a picture: + + ayadn -P "lol cat" -E ~/Pics/lolcat.jpg + You don't have to put quotes around your text, but it's better to do it. The 'write' method is recommended over this one: it's more secure and offers multi-line support. + + Embed an online video: + + ayadn -P wave function -Y https://www.youtube.com/watch?v=Ei8CFin00PY + + ayadn -P wargarbl -V http://vimeo.com/123234345 + + Embed a movie poster: + + ayadn -P "I'll be back" -M terminator + + (This is different from the 'movie' command, check the docs.) \n\n USAGE end def self.write <<-USAGE @@ -746,11 +765,27 @@ ayadn write ayadn -W + Embed a picture: + + ayadn -W -E ~/Pics/lolcat.jpg + It enters the writing mode where you will type your post. + + Embed an online video: + + ayadn -P wave function -Y https://www.youtube.com/watch?v=Ei8CFin00PY + + ayadn -P wargarbl -V http://vimeo.com/123234345 + + Embed a movie poster: + + ayadn -P "I'll be back" -M terminator + + (This is different from the 'movie' command, check the docs.) \n\n USAGE end def self.pmess <<-USAGE @@ -758,10 +793,14 @@ Usage: ayadn pm @ericd + Embed a picture: + + ayadn pm -E ~/Pics/lolcat.jpg + It enters the writing mode where you will type your message. \n\n USAGE end def self.send_to_channel @@ -794,12 +833,26 @@ Mentions and/or username will be detected and your text will be inserted appropriately. If you reply to a repost, Ayadn will automatically replace it by the original post. - If you just viewed a stream with the -i (--index) option, you can also reply to a post by its index. + 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). - Example: ayadn -R 3 + Embed a picture in a reply: + + ayadn -R 23365251 -E ~/Pics/lolcat.jpg + + Embed an online video: + + ayadn -P wave function -Y https://www.youtube.com/watch?v=Ei8CFin00PY + + ayadn -P wargarbl -V http://vimeo.com/123234345 + + Embed a movie poster: + + ayadn -P "I'll be back" -M terminator + + (This is different from the 'movie' command, check the docs.) \n\n USAGE end def self.set <<-USAGE