class Tlog::Command::Push
Public Instance Methods
description()
click to toggle source
# File lib/tlog/command/push.rb, line 8 def description "pushes your time logs upstream" end
execute(input, output)
click to toggle source
# File lib/tlog/command/push.rb, line 12 def execute(input, output) push_logs end
name()
click to toggle source
# File lib/tlog/command/push.rb, line 4 def name "push" end
options(parser, options)
click to toggle source
# File lib/tlog/command/push.rb, line 16 def options(parser, options) parser.banner = "usage: tlog push" end
Private Instance Methods
push_logs()
click to toggle source
# File lib/tlog/command/push.rb, line 22 def push_logs storage.in_branch do |wd| storage.push_logs end end