223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
|
# File 'lib/externals/ext.rb', line 223
def help(args, options)
puts "There's a tutorial available at http://nopugs.com/ext-tutorial\n\n"
puts "#{self.class.new_opts({},{}).to_s}\n\n"
puts "\nCommands that apply to the main project or the .externals file:"
puts "#{MAIN_COMMANDS.join(', ')}\n\n"
print_commands(MAIN_COMMANDS_HASH)
puts "\nCommands that apply to the main project and all subprojects:"
puts "#{FULL_COMMANDS.join(', ')}\n\n"
print_commands(FULL_COMMANDS_HASH)
puts "\nCommands that only apply to the subprojects:"
puts "#{SHORT_COMMANDS.join(', ')}\n\n"
print_commands(SHORT_COMMANDS_HASH)
end
|