lib/ayadn/app.rb in ayadn-2.0.12 vs lib/ayadn/app.rb in ayadn-2.1
- old
+ new
@@ -189,11 +189,10 @@
long_desc Descriptions.followings
option :raw, aliases: "-x", type: :boolean, desc: Descriptions.options_raw
option :reverse, aliases: "-r", type: :boolean, desc: "Reverses the list original order"
option :username, aliases: "-u", type: :boolean, desc: "Sort the list by: username"
option :name, aliases: "-n", type: :boolean, desc: "Sort the list by: name"
- option :posts_day, aliases: "-d", type: :boolean, desc: "Sort the list by: posts/day"
option :posts, aliases: "-p", type: :boolean, desc: "Sort the list by: total posts"
option :date, aliases: "-t", type: :boolean, desc: "Sort the list by: date (only with 'lastposts' option)"
option :compact, aliases: "-k", type: :boolean, desc: "Force the view to be compact if not already"
option :lastpost, aliases: "-l", type: :boolean, desc: "Displays the last post of each user"
option :cache, type: :boolean, desc: "Cache the results"
@@ -207,11 +206,10 @@
long_desc Descriptions.followers
option :raw, aliases: "-x", type: :boolean, desc: Descriptions.options_raw
option :reverse, aliases: "-r", type: :boolean, desc: "Reverses the list original order"
option :username, aliases: "-u", type: :boolean, desc: "Sort the list by: username"
option :name, aliases: "-n", type: :boolean, desc: "Sort the list by: name"
- option :posts_day, aliases: "-d", type: :boolean, desc: "Sort the list by: posts/day"
option :posts, aliases: "-p", type: :boolean, desc: "Sort the list by: total posts"
option :compact, aliases: "-k", type: :boolean, desc: "Force the view to be compact if not already"
option :cache, type: :boolean, desc: "Cache the results"
option :again, type: :boolean, desc: "Run the last request from cache"
def followers(*username)
@@ -223,11 +221,10 @@
long_desc Descriptions.muted
option :raw, aliases: "-x", type: :boolean, desc: Descriptions.options_raw
option :reverse, aliases: "-r", type: :boolean, desc: "Reverses the list original order"
option :username, aliases: "-u", type: :boolean, desc: "Sort the list by: username"
option :name, aliases: "-n", type: :boolean, desc: "Sort the list by: name"
- option :posts_day, aliases: "-d", type: :boolean, desc: "Sort the list by: posts/day"
option :posts, aliases: "-p", type: :boolean, desc: "Sort the list by: total posts"
option :compact, aliases: "-k", type: :boolean, desc: "Force the view to be compact if not already"
option :cache, type: :boolean, desc: "Cache the results"
option :again, type: :boolean, desc: "Run the last request from cache"
def muted
@@ -239,10 +236,9 @@
long_desc Descriptions.blocked
option :raw, aliases: "-x", type: :boolean, desc: Descriptions.options_raw
option :reverse, aliases: "-r", type: :boolean, desc: "Reverses the list original order"
option :username, aliases: "-u", type: :boolean, desc: "Sort the list by: username"
option :name, aliases: "-n", type: :boolean, desc: "Sort the list by: name"
- option :posts_day, aliases: "-d", type: :boolean, desc: "Sort the list by: posts/day"
option :posts, aliases: "-p", type: :boolean, desc: "Sort the list by: total posts"
option :compact, aliases: "-k", type: :boolean, desc: "Force the view to be compact if not already"
option :cache, type: :boolean, desc: "Cache the results"
option :again, type: :boolean, desc: "Run the last request from cache"
def blocked