Class: Push

Inherits:
Command show all
Defined in:
lib/commands/push.rb

Overview

Command ‘lookfile update’ implementation

Class Method Summary collapse

Methods inherited from Command

childrens, childrens?, run_childrens, usage, usage_header

Class Method Details

.command_nameObject



14
15
16
# File 'lib/commands/push.rb', line 14

def self.command_name
  'push'
end

.options_messagesObject



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

.parentObject



18
19
20
# File 'lib/commands/push.rb', line 18

def self.parent
  Look
end

.runObject



22
23
24
25
# File 'lib/commands/push.rb', line 22

def self.run(*)
  message = Lookfile.push
  puts message
end