# File lib/commands/plugin/commands.rb, line 524 def options OptionParser.new do |o| o.set_summary_indent(' ') o.banner = "Usage: #{@base_command.script_name} about name [name]..." o.define_head "Shows plugin info at {url}/about.yml." end end
# File lib/commands/plugin/commands.rb, line 532 def parse!(args) options.parse!(args) args.each do |name| if plugin = ::Plugin.find(name) if about_hash = plugin.about puts about_hash.to_yaml + "\n" next end end puts "Plugin #{name} could not be found in the known repositories." puts end end
Generated with the Darkfish Rdoc Generator 2.