# File lib/taskjuggler/apps/Tj3TsSender.rb, line 56 def appMain(argv) ts = TimeSheetSender.new('tj3ts_sender') @rc.configure(ts, 'global') @rc.configure(ts, 'timesheets') @rc.configure(ts, 'timesheets.sender') ts.workingDir = @workingDir if @workingDir ts.dryRun = @dryRun ts.force = @force ts.intervalDuration = @intervalDuration if @intervalDuration ts.date = @date if @date ts.sendTemplates(@resourceList) 0 end
# File lib/taskjuggler/apps/Tj3TsSender.rb, line 36 def processArguments(argv) super do @opts.banner += This program can be used to send out time sheets templates via email. It willgenerate time sheet templates for all resources of the project. The projectdata will be accesses via tj3client from a running TaskJuggler server process. @opts.on('-r', '--resource <ID>', String, format('Only generate template for given resource')) do |arg| @resourceList << arg end @opts.on('-f', '--force', format('Send out a new template even if one exists ' + 'already')) do |arg| @force = true end optsEndDate end end
Generated with the Darkfish Rdoc Generator 2.