Class: Push
Overview
Command ‘lookfile update’ implementation
Class Method Summary
collapse
Methods inherited from Command
childrens, childrens?, run_childrens, usage, usage_header
Class Method Details
.command_name ⇒ Object
14
15
16
|
# File 'lib/commands/push.rb', line 14
def self.command_name
'push'
end
|
.options_messages ⇒ Object
8
9
10
11
12
|
# File 'lib/commands/push.rb', line 8
def self.options_messages
%( push \t\t $ lookfile push
\t\t - Push files on lookfile to repository
)
end
|
.parent ⇒ Object
18
19
20
|
# File 'lib/commands/push.rb', line 18
def self.parent
Look
end
|
.run ⇒ Object
22
23
24
25
|
# File 'lib/commands/push.rb', line 22
def self.run(*)
message = Lookfile.push
puts message
end
|