Re: [Mailman-Developers] [GSoC 2014] Mailman CLI Project

2014-05-13 Thread Rajeev S
On Monday 12 May 2014 10:15 PM, Stephen J. Turnbull wrote: Barry Warsaw writes: > Also as a general rule, I think we want just one level of > subcommand, so that `mmclient show --list` would be the template. > (That's open to discussion.) I wonder about this in the context of argparse and

Re: [Mailman-Developers] [GSoC 2014] Mailman CLI Project

2014-05-13 Thread Rajeev S
On Monday 12 May 2014 09:12 PM, Barry Warsaw wrote: A better name might be `show` since the term "list" is so overloaded in this context. Here's it's being used as a verb and a noun to refer to different concepts, and I think that's confusing. Yes, its confusing. In fact, I was looking for a r

Re: [Mailman-Developers] [GSoC 2014] Mailman CLI Project

2014-05-13 Thread Barry Warsaw
On May 13, 2014, at 01:45 AM, Stephen J. Turnbull wrote: >In the model Rajeev has shown so far, the "scope" argument (list, >domain, user) hasn't been optional. If it's truly non-optional in the sense that there's no default, and the scope is required, then maybe it's okay. It just doesn't look

Re: [Mailman-Developers] [GSoC 2014] Mailman CLI Project

2014-05-13 Thread Barry Warsaw
On May 13, 2014, at 03:27 PM, Rajeev S wrote: >Further there is a possibility of the user specifying multiple scopes, > >mmclient show --list --listname "l...@domain.org" --domain Would --list be implied by seeing a `--listname=l...@example.com`? E.g. would this be just as useful, and a little s

Re: [Mailman-Developers] modifying payload using same encoding and Content-Transfer-Encoding

2014-05-13 Thread Sylvain Viart
Hi, Thanks for your reply. Unfortunately it doesn't work. I don't know why. I did read the doc many times, without the expected result. See and the implicit

Re: [Mailman-Developers] modifying payload using same encoding and Content-Transfer-Encoding

2014-05-13 Thread Mark Sapiro
On 05/13/2014 07:14 AM, Sylvain Viart wrote: > Hi, > > Thanks for your reply. Unfortunately it doesn't work. I don't know why. > I did read the doc many times, without the expected result. It works for me. The following withlist interaction based on a stripped down version of what you originally

Re: [Mailman-Developers] [GSoC 2014] Mailman CLI Project

2014-05-13 Thread Stephen J. Turnbull
BTW, unless specifically mentioned that I'm speaking as mentor, I'm speaking as an ordinary developer, and you should feel free to argue with me, or agree with me, or reserve comment until you feel comfortable discussing issues. Also, I apologize if I end up talking "down" to you. I don't know yo

Re: [Mailman-Developers] [GSoC 2014] Mailman CLI Project

2014-05-13 Thread Stephen J. Turnbull
Barry Warsaw writes: > Would --list be implied by seeing a `--listname=l...@example.com`? > E.g. would this be just as useful, and a little shorter: > > mmclient show --listname=l...@example.com --domain=example.org Are you thinking that this is equivalent to mmclient show --list --lis