lib/ayadn/app.rb in ayadn-1.1.1 vs lib/ayadn/app.rb in ayadn-1.1.3
- old
+ new
@@ -1,11 +1,11 @@
# encoding: utf-8
module Ayadn
class App < Thor
package_name "Ayadn"
- %w{action api descriptions endpoints cnx view workers settings post status extend databases fileops logs pinboard set alias errors blacklist scroll authorize switch}.each { |r| require_relative "#{r}" }
+ %w{action api descriptions endpoints cnx view workers settings post status extend databases fileops logs pinboard set alias errors blacklist scroll authorize switch mark}.each { |r| require_relative "#{r}" }
desc "timeline", "Show your App.net timeline, aka the Unified Stream (-tl)"
map "unified" => :timeline
map "-tl" => :timeline
long_desc Descriptions.unified
@@ -388,9 +388,13 @@
desc "alias COMMAND (PARAM)", "Create/delete/list aliases for channels (-A)"
map "-A" => :alias
long_desc Descriptions.alias
subcommand "alias", Alias
+
+ desc "mark POST (TITLE)", "Bookmark a conversation / manage bookmarks"
+ long_desc Descriptions.mark
+ subcommand "mark", Mark
desc "download FILE", "Download the file with id FILE (-df)"
map "-df" => :download
long_desc Descriptions.download
def download(file_id)