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 "normal" to me. > > mmclient set --key <name> --value <value> > >This seems unnecessarily verbose on the one hand, and to not actually >correspond to an actual use case, on the other: there's no scope >mentioned. I feel the scope should be mandatory, even if it's >sitewide: > > mmclient set --site-wide --key CAN_PERSONALIZE --value No > mmclient set --domain=python.org --key CAN_PERSONALIZE --value Yes This seems different than what Rajeev wrote, where he mentions that the 'setting' argument is the scope: On May 11, 2014, at 10:37 PM, Rajeev S wrote: >*Preferences/settings* > >Settings would form a new `scope`, commands for which can be implemented >in a fairly straightforward way. > >mmclient set setting <setting name> --value <value> On May 13, 2014, at 01:45 AM, Stephen J. Turnbull wrote: >(after the first one, the second would be an error, I guess, but in >other cases a site-wide setting would be interpreted as a default). > >I guess this horse has already bolted the barn, but I wonder about a >syntax like > > mmclient set --site-wide --key PERSONALIZE --value Permitted > mmclient set --domain=python.org --key PERSONALIZE --value Permitted > mmclient set --list=mailman-us...@python.org --key PERSONALIZE --value No I think that would be fine (probably --site is sufficient, and a bit shorter). Also I would suggest allowing either List-ID or posting address as an argument to --list, e.g. --list=mailman-users.python.org would also be acceptable. Usually there will be no difference, but lists can be renamed and the List-ID will never change. Cheers, -Barry
signature.asc
Description: PGP signature
_______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9