Method: Couchup::Commands::Help#show_all

Defined in:
lib/couchup/commands/help.rb

#show_allObject



13
14
15
16
17
18
19
20
21
# File 'lib/couchup/commands/help.rb', line 13

def show_all
  Commands.constants.each do |stuff|
    k = Commands.const_get(stuff)
    print stuff.underscore
    print (stuff.underscore.size > 10) ? "\t" : "\t\t"  
    ap k.respond_to?(:describe) ? k.describe[:description] : "No Help"
  end
  ap "Type help <command> for more detailed info"
end