def usage_message
usage = "\nInstalled Generators\n"
RubiGen::Base.sources.each do |source|
label = source.label.to_s.capitalize
names = source.names
usage << " #{label}: #{names.join(', ')}\n" unless names.empty?
end
usage << "\nThis script will destroy all files created by the corresponding\nscript/generate command. For instance, script/destroy test_unit create_post\nwill delete the appropriate test_create_post.rb file in /test.\n\nFor instructions on finding new generators, run script/generate\n"
return usage
end