Method: Jets::CLI#main_help
- Defined in:
- lib/jets/cli.rb
#main_help ⇒ Object
164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/jets/cli.rb', line 164 def main_help shell = Thor::Shell::Basic.new shell.say "Commands:" shell.print_table(thor_list, :indent => 2, :truncate => true) if jets_project? && !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 |