vendor/bundle/ruby/1.9.1/gems/thor-0.14.6/lib/thor.rb
# Prints help information for this class.
#
# ==== Parameters
# shell<Thor::Shell>
#
Prints help information for this class.
Parameters
shell
Prints help information for this class . Parameters shell
def help(shell, subcommand = false)
      list = printable_tasks(true, subcommand)
      Thor::Util.thor_classes_in(self).each do |klass|
        list += klass.printable_tasks(false)
      end
      list.sort!{ |a,b| a[0] <=> b[0] }
      shell.say "Tasks:"
      shell.print_table(list, :ident => 2, :truncate => true)
      shell.say
      class_options_help(shell)
    end
def help ( shell , subcommand = false ) list = printable_tasks ( true , subcommand ) Thor :: Util . thor_classes_in ( self ) . each do | klass | list += klass . printable_tasks ( false ) end list . sort! { | a , b | a [ 0 ] <=> b [ 0 ] } shell . say "Tasks:" shell . print_table ( list , :ident => 2 , :truncate => true ) shell . say class_options_help ( shell ) end
Prints help information for this class.
Prints help information for this class .
shell
<not_specific>
subcommand
<not_specific>