method
parse!
parse!(args)
public
Hide source
# File railties/lib/commands/plugin.rb, line 628 def parse!(args) options.parse!(args) count = 0 args.each do |uri| if Repositories.instance.add(uri) puts "added: #{uri.ljust(50)}" if $verbose count += 1 else puts "failed: #{uri.ljust(50)}" end end Repositories.instance.save puts "Added #{count} repositories." end