list commands and display help
# File lib/heroku/command/help.rb, line 27 def self.usage_for_command(command) command = new.send(:commands)[command] "Usage: heroku #{command[:banner]}" if command end
help [COMMAND]
list available commands or display help for a specific command
# File lib/heroku/command/help.rb, line 16 def index if command = args.shift help_for_command(command) else help_for_root end end