class Gem::Commands::ListCommand

def arguments # :nodoc:

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

def defaults_str # :nodoc:

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

def description # :nodoc:

:nodoc:
def description # :nodoc:
  <<-EOF
e list command is used to view the gems you have installed locally.
e --details option displays additional details including the summary, the
mepage, the author, the locations of different versions of the gem.
 search for remote gems use the search command.
  EOF
end

def initialize

def initialize
  super 'list', 'Display local gems whose name matches REGEXP'
  remove_option('--name-matches')
end

def usage # :nodoc:

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