# File lib/commands/plugin/commands.rb, line 634 def options OptionParser.new do |o| o.set_summary_indent(' ') o.banner = "Usage: #{@base_command.script_name} pack:about pack_file_or_url" o.define_head "Shows meta-data and plugin list for plugin pack at pack_file_or_url" end end
# File lib/commands/plugin/commands.rb, line 650 def display_meta(plugin_pack) puts "Retrieving information for plugin pack #{plugin_pack.name}" [:description, :author, :email, :website].each do |info_attr| info = plugin_pack.send(info_attr) unless info.nil? or info.empty? puts "* #{info_attr.to_s.capitalize}: #{info}" end end end
Generated with the Darkfish Rdoc Generator 2.