X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/8536514115cf732eec24348862e835bde52acdf1..c2e8982b068dc4f47015679ea383a424c4defef1:/bin/list-emails?ds=sidebyside diff --git a/bin/list-emails b/bin/list-emails index 5d3fb74..569571e 100755 --- a/bin/list-emails +++ b/bin/list-emails @@ -4,3 +4,10 @@ require 'rubygems' require 'bundler' Bundler.setup + +require 'nos_oignons/subscriptions' + +subscriptions = read_subscriptions +subscriptions.each_pair do |subscription_id, data| + puts data['email'] +end