grit.rb
# opting to not remove the directory
opting to not remove the directory
opting to not remove the directory
def remove_repository (names)
    config = get_config
    match = get_repository(names[0])
    unless match.nil?
      if config[:repositories].delete(match)
        write_config(config)
        puts "Removed repository #{match} from grit"
      else
        puts "Unable to remove repository #{match}"
      end
    else
      puts "Could not find repository"
    end
  end
def remove_repository ( names ) config = get_config match = get_repository ( names [ 0 ] ) unless match . nil? if config [ :repositories ] . delete ( match ) write_config ( config ) puts "Removed repository #{match} from grit" else puts "Unable to remove repository #{match}" end else puts "Could not find repository" end end
opting to not remove the directory
opting to not remove the directory
names