add_key_option()
Add the –key option
# File lib/rubygems/gemcutter_utilities.rb, line 22 def add_key_option add_option('-k', '--key KEYNAME', Symbol, 'Use the given API key', 'from ~/.gem/credentials') do |value,options| options[:key] = value end end