# File lib/bee_console.rb, line 367 def help_task(task) task = '?' if task == nil or task.length == 0 package_manager = Bee::Task::PackageManager.new(nil) methods = package_manager.help_task(task) help = '' for method in methods.keys.sort text = methods[method].strip help << format_title(method) help << "\n" help << text help << "\n" if text =~ /Alias for \w+/ alias_method = text.scan(/Alias for (\w+)/).flatten[0] help << "\n" help << package_manager.help_task(alias_method)[alias_method].strip help << "\n" end end return help end