method
parse!
parse!(args)
public
Hide source
# File railties/lib/commands/plugin.rb, line 524 def parse!(args) options.order!(args) unless @sources.empty? @sources.map!{ |uri| Repository.new(uri) } else @sources = Repositories.instance.all end if @remote @sources.map{|r| r.plugins}.flatten.each do |plugin| if @local or !plugin.installed? puts plugin.to_s end end else cd "#{@base_command.environment.root}/vendor/plugins" Dir["*"].select{|p| File.directory?(p)}.each do |name| puts name end end end