]> nos-oignons.net Git - gestion-adh.git/blob - features/support/mock_mailman/list_members
47fbdda16d85169ed8d95d070bfce26540b7a9dd
[gestion-adh.git] / features / support / mock_mailman / list_members
1 #!/usr/bin/ruby1.9.1
2
3 require 'json'
4
5 db = ENV['MOCK_MAILMAN_DB']
6
7 lists = JSON.load(File.read(db))
8 (lists[ARGV[0]] || []).each do |email|
9   puts email
10 end