# File lib/taskjuggler/apps/Tj3SsReceiver.rb, line 22 def initialize super end
# File lib/taskjuggler/apps/Tj3SsReceiver.rb, line 38 def appMain(argv) ts = TaskJuggler::StatusSheetReceiver.new('tj3ss_receiver') @rc.configure(ts, 'global') @rc.configure(ts, 'statussheets') @rc.configure(ts, 'statussheets.receiver') ts.workingDir = @workingDir if @workingDir ts.dryRun = @dryRun ts.processEmail 0 end
# File lib/taskjuggler/apps/Tj3SsReceiver.rb, line 26 def processArguments(argv) super do @opts.banner += "This program can be used to receive filled-out status sheets via email. It reads the emails from STDIN and extracts the status sheet from the attached files. The status sheet is checked for correctness. Good status sheets are filed away. The sender be informed by email that the status sheets was accepted or rejected. " end end