# File lib/taskjuggler/apps/Tj3SsReceiver.rb, line 23 def initialize super end
# File lib/taskjuggler/apps/Tj3SsReceiver.rb, line 39 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 27 def processArguments(argv) super do @opts.banner += <<'EOT' 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. EOT end end