Method: Jets::CLI#main_help

Defined in:
lib/jets/cli.rb

#main_helpObject



159
160
161
162
163
164
165
166
167
168
169
170
171
# File 'lib/jets/cli.rb', line 159

def main_help
  shell = Thor::Shell::Basic.new
  shell.say "Commands:"
  shell.print_table(thor_list, :indent => 2, :truncate => true)

  unless rake_list.empty?
    shell.say "\nCommands via rake:"
    shell.print_table(rake_list, :indent => 2, :truncate => true)
  end

  shell.say "\n"
  shell.say main_help_body
end