require 'trollop'
require "sup"
-BIN_VERSION = "git"
+BIN_VERSION = "0.5"
unless Redwood::VERSION == BIN_VERSION
$stderr.puts <<EOS
opt :compose, "Compose message to this recipient upon startup", :type => String
end
+Redwood::HookManager.register "startup", <<EOS
+Executes at startup
+No variables.
+No return value.
+EOS
+
if $opts[:list_hooks]
Redwood::HookManager.print_hooks
exit
Index.add_source SentManager.new_source
end
+ HookManager.run "startup"
+
log "starting curses"
start_cursing