Class: Bio::Ngs::Runner

Inherits:
Thor::Runner
  • Object
show all
Defined in:
bin/biongs

Instance Method Summary collapse

Instance Method Details

#help(meth = nil) ⇒ Object



13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'bin/biongs', line 13

def help(meth = nil)
  if meth && !self.respond_to?(meth)
    initialize_thorfiles(meth)
    klass, task = Thor::Util.find_class_and_task_by_namespace(meth)
    klass.start(["-h", task].compact, :shell => self.shell)
  else
    puts "\nBio-NGS is an official BioRuby plugin for Next Generation Sequencing data analysis and workflows.\n\n"
    puts "To view the full list of available tasks and commands type:\n\n"
    puts "\tbiongs -T\n\n"
    puts "To get information on specific tasks type:\n\n"
    puts "\tbiongs help [TASK]\n\n"
  end
end