lib/spinebox/command.rb in spinebox-0.0.5 vs lib/spinebox/command.rb in spinebox-0.0.6

- old
+ new

@@ -35,9 +35,19 @@ puts "" puts "Actions:" @@commands.each { |command| printf "%-3s %-20s %s\n", "", command.command, command.desc if command.options[:type] == :action } + + puts "" + + puts "Generators:" + @@commands.each { |command| printf "%-3s %-40s %s\n", "", command.command, command.desc if command.options[:type] == :generator } + + puts "" + + puts "Scaffolds:" + @@commands.each { |command| printf "%-3s %-40s %s\n", "", command.command, command.desc if command.options[:type] == :scaffold } end # Encapsules a registered command class Command \ No newline at end of file