# File lib/rubygems/gem_commands.rb, line 348 def initialize super 'sources', 'Manage the sources RubyGems will search forgems' add_option '-a', '--add SOURCE_URI', 'Add source' do |value, options| options[:add] = value end add_option '-l', '--list', 'List sources' do |value, options| options[:list] = value end add_option '-r', '--remove SOURCE_URI', 'Remove source' do |value, options| options[:remove] = value end end