Add -list action.
This commit is contained in:
parent
fc80430217
commit
313ba6971d
1 changed files with 8 additions and 1 deletions
|
@ -151,6 +151,8 @@
|
||||||
(-action- 'unpaired))
|
(-action- 'unpaired))
|
||||||
(-edit () "Edit selected user"
|
(-edit () "Edit selected user"
|
||||||
(-action- 'edit))
|
(-action- 'edit))
|
||||||
|
(-list () "Lists active members"
|
||||||
|
(-action- 'list))
|
||||||
""
|
""
|
||||||
"Id Management Actions:"
|
"Id Management Actions:"
|
||||||
(-idstats () "Returns information about available member ids"
|
(-idstats () "Returns information about available member ids"
|
||||||
|
@ -359,7 +361,7 @@
|
||||||
(print "Mailman synchronization disabled with manually specified current month.")))
|
(print "Mailman synchronization disabled with manually specified current month.")))
|
||||||
((notify)
|
((notify)
|
||||||
(let ((nmembers (members-to-notify MB (-notify-months-))))
|
(let ((nmembers (members-to-notify MB (-notify-months-))))
|
||||||
/ (newline)
|
(newline)
|
||||||
(if (null? nmembers)
|
(if (null? nmembers)
|
||||||
(print "Everyone paid on time.")
|
(print "Everyone paid on time.")
|
||||||
(let ()
|
(let ()
|
||||||
|
@ -388,6 +390,11 @@
|
||||||
(if (-send-emails-)
|
(if (-send-emails-)
|
||||||
(make+send-summary-email MB)
|
(make+send-summary-email MB)
|
||||||
(make+print-summary-email MB)))
|
(make+print-summary-email MB)))
|
||||||
|
((list)
|
||||||
|
(for-each (lambda (mr)
|
||||||
|
(print (brmember-nick mr)))
|
||||||
|
(find-members-by-predicate MB brmember-active?)
|
||||||
|
))
|
||||||
(else
|
(else
|
||||||
(print "Nothing to do. Try running with: -h"))
|
(print "Nothing to do. Try running with: -h"))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue