]> nos-oignons.net Git - gestion-adh.git/blob - features/support/mock_mailman/list_members
Correction du fichier sudoer
[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