class Gem::Commands::SearchCommand

def arguments # :nodoc:

:nodoc:
def arguments # :nodoc:
  "REGEXP        regexp to search for in gem name"
end

def defaults_str # :nodoc:

:nodoc:
def defaults_str # :nodoc:
  "--remote --no-details"
end

def description # :nodoc:

:nodoc:
def description # :nodoc:
  <<-EOF
e search command displays remote gems whose name matches the given
gexp.
e --details option displays additional details from the gem but will
ke a little longer to complete as it must download the information
dividually from the index.
 list local gems use the list command.
  EOF
end

def initialize

def initialize
  super 'search', 'Display remote gems whose name matches REGEXP'
  remove_option '--name-matches'
  defaults[:domain] = :remote
end

def usage # :nodoc:

:nodoc:
def usage # :nodoc:
  "#{program_name} [REGEXP]"
end