lib/ayadn/app.rb in ayadn-1.2.7 vs lib/ayadn/app.rb in ayadn-1.2.8
- old
+ new
@@ -192,9 +192,13 @@
long_desc Descriptions.search
option :count, aliases: "-c", type: :numeric, desc: Descriptions.options_count
option :index, aliases: "-i", type: :boolean, desc: Descriptions.options_index
option :raw, aliases: "-x", type: :boolean, desc: Descriptions.options_raw
option :extract, aliases: "-e", type: :boolean, desc: Descriptions.options_extract
+ option :messages, type: :boolean, desc: 'Search for WORD(S) in messages, including PMs.'
+ option :users, type: :boolean, desc: 'Search for App.net users by searching WORD(S) in their bio/description.'
+ option :channels, type: :boolean, desc: 'Search for App.net channels by searching WORD(S) in their description.'
+ option :annotations, type: :boolean, desc: 'Search for posts containing a specific App.net annotation.'
def search(*words)
Action.new.search(words.join(","), options)
end
desc "settings", "List current Ayadn settings (-sg)"