Class: Status

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

Overview

Command ‘lookfile status’ implementation

Class Method Summary collapse

Methods inherited from Command

childrens, childrens?, run_childrens, usage, usage_bottom, usage_header

Class Method Details

.command_nameObject



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

def self.command_name
  'status'
end

.options_messagesObject



8
9
10
11
12
# File 'lib/commands/status.rb', line 8

def self.options_messages
  %(  status \t $ lookfile status
\t\t - Show status of files on lookfile
  )
end

.parentObject



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

def self.parent
  Look
end

.runObject



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

def self.run(*)
  puts Lookfile.status
end