[Mailman-Developers] MM command prefix and-or single mm-admin CLI frontend

David Champion dgc at uchicago.edu
Sat Nov 8 22:31:34 CET 2008


> I like the idea of a master command, and quite naturally I would choose 
> 'mailman'.  I didn't know that Trac did this, but lots of other programs 
> do, and I would look at the Bazaar code to see if there's anything we can 
> steal there too.  If there's a Cheeseshop package we can just use, all 
> the better.

This interface style seems to be gaining popularity, so even if it's not
the only interface it's probably a good supplement.  I think I first
noticed it with openssl, and immediately took a liking to it.

Mercurial is another example of a Python program with a thin subcommand
driver program.  It might be more or less suitable for theft as well.
(N.B. Mercurial is GPL v2, not v3.)  Mercurial's driver calls commands
as python functions from the mercurial library, and provides a nice
extension framework for enabling users or third parties to extend the
base functionality with additional python modules.  Not sure whether bzr
or trac-admin has something similar, but it may be another reason to
look at how hg does it.

-- 
 -D.    dgc at uchicago.edu    NSIT    University of Chicago


More information about the Mailman-Developers mailing list