Class: WebCrawler::CLI

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions, Thor::Hooks, Thor::InheritedOptions
Defined in:
lib/web_crawler/cli.rb

Direct Known Subclasses

Application

Instance Method Summary collapse

Methods included from Thor::InheritedOptions

included

Methods included from Thor::Hooks

included

Instance Method Details

#help(task = nil) ⇒ Object



63
64
65
66
67
68
69
# File 'lib/web_crawler/cli.rb', line 63

def help(task = nil)
  if task
    self.class.task_help(shell, task)
  else
    self.class.help shell
  end
end