lib/ayadn/app.rb in ayadn-1.7.2 vs lib/ayadn/app.rb in ayadn-1.7.3
- old
+ new
@@ -421,9 +421,10 @@
long_desc Descriptions.reply
option :embed, aliases: "-E", type: :array, desc: "Embed one or several pictures in the new post"
option :youtube, aliases: "-Y", type: :array, desc: "Embed a Youtube video in the new post"
option :vimeo, aliases: "-V", type: :array, desc: "Embed a Vimeo video in the new post"
option :poster, aliases: "-M", type: :array, desc: "Embed a movie poster, from title, in the new post"
+ option :noredirect, aliases: "-n", type: :boolean, desc: "Do not respond to the original post but to the reposted one if possible"
def reply(id)
ayadn = Action.new
ayadn.reply(id, options)
end