Class: Skunk::Command::Help

Inherits:
Base
  • Object
show all
Defined in:
lib/skunk/commands/help.rb

Overview

Knows how to guide user into using ‘skunk` properly

Instance Method Summary collapse

Methods inherited from Base

#initialize, #share

Constructor Details

This class inherits a constructor from Skunk::Command::Base

Instance Method Details

#executeObject

Outputs a help message



11
12
13
14
# File 'lib/skunk/commands/help.rb', line 11

def execute
  puts options[:help_text]
  status_reporter
end

#sharing?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/skunk/commands/help.rb', line 16

def sharing?
  false
end