Class: Tlog::Command::Push
Instance Attribute Summary
#date_time_format, #seconds_format, #storage
Instance Method Summary
collapse
Instance Method Details
#description ⇒ Object
8
9
10
|
# File 'lib/tlog/command/push.rb', line 8
def description
"pushes your time logs upstream"
end
|
#execute(input, output) ⇒ Object
12
13
14
|
# File 'lib/tlog/command/push.rb', line 12
def execute(input, output)
push_logs
end
|
#name ⇒ Object
4
5
6
|
# File 'lib/tlog/command/push.rb', line 4
def name
"push"
end
|
#options(parser, options) ⇒ Object
16
17
18
|
# File 'lib/tlog/command/push.rb', line 16
def options(parser, options)
parser.banner = "usage: tlog push"
end
|