Re: [Mailman-Developers] Add moderators from the command line

Cheers Rajeev!
On Monday, July 28, 2014 8:44 AM, Rajeev S <rajeevs1992@gmail.com> wrote:
Hi,
On Sun, Jul 27, 2014 at 4:29 PM, ML mail <mlnospam@yahoo.com.dmarc.invalid> wrote:
Yes, I guess something like a "-m" option would be good to specify that the e-mails being added with the "-a" option are moderators. Right now I have switched to using the REST API as it has all features I need, great work btw!
The CLI I built as part of GSoC 2014 supports the above features
http://bazaar.launchpad.net/~rajeevs1992/mailman.client/mailmancli
It is based on the REST API.
To Add moderators you can do
./mmclient add-moderator list list@domain.org --user a@b.com b@c.com ... Similarly to add owners do ./mmclient add-owner list list@domain.org --user a@b.com b@c.com To add normal members
./mmclient subscribe user user1@bar.com user2@bar.com --list list@domain.org You might want to install the PLY library [https://pypi.python.org/pypi/ply/3.4] to test the CLI fully.
participants (1)
-
ML mail