You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
puts"Creating timeslips for #{user.first_name}#{user.last_name} for task '#{task.name}' in project '#{project.name}' between #{from} and #{to} inclusive"
75
85
timeslips=from.step(to).mapdo |date|
@@ -79,16 +89,16 @@ module Freeagent
79
89
api.batch_create_timeslipstimeslips
80
90
end
81
91
82
-
desc'fill USER PROJECT TASK [FROM [TO]]','Fill remaining hours with new timeslips'
92
+
desc'fill USER PROJECT [TASK [FROM [TO]]]','Fill remaining hours with new timeslips'
83
93
method_option:hours,aliases: '-h',type: :numeric,default: 8,desc: "Number of hours per day"
84
94
method_option:weekends,aliases: '-w',type: :boolean,default: false,desc: "Create timeslips on Saturdays and Sundays"
85
95
method_option:comment,aliases: '-c',type: :string,default: nil,desc: "Comment to add to any created timeslips"
0 commit comments