aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/harvest.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-12-11 21:30:36 -0500
committerRalph Amissah <ralph@amissah.com>2008-12-11 21:31:47 -0500
commit1b8c2dbfb474dce40548bc1cfc052017a9682a12 (patch)
tree33c160fe7acd0cd22ecbd35597d3a543cce6f181 /lib/sisu/v0/harvest.rb
parentodf_format, copyright notice consistency (diff)
harvest, better integrated into sisu
[note sql module not yet updated to include topic_register, as requires recreation of all sisu db(s)]
Diffstat (limited to 'lib/sisu/v0/harvest.rb')
-rw-r--r--lib/sisu/v0/harvest.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sisu/v0/harvest.rb b/lib/sisu/v0/harvest.rb
index e8609a93..49303571 100644
--- a/lib/sisu/v0/harvest.rb
+++ b/lib/sisu/v0/harvest.rb
@@ -80,6 +80,10 @@ def cases(opt)
css(opt) if opt.cmd.inspect =~/M/
HARVEST_authors::Songsheet.new(opt).songsheet
HARVEST_topics::Songsheet.new(opt).songsheet
+ if opt.cmd.inspect =~/R/
+ require "#{SiSU_lib}/remote"
+ SiSU_Remote::Put.new(opt).rsync_harvest
+ end
else
help
end