Class: Show

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

Overview

Command ‘lookfile show’ 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/show.rb', line 14

def self.command_name
  'show'
end

.options_messagesObject


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

def self.options_messages
  %(  show \t\t $ lookfile show
\t\t - Show all files that are on lookfile
  )
end

.parentObject


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

def self.parent
  Look
end

.runObject


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

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