
Thanks Florian. Things are much more clearer now.
I have built a basic command line version for the mailman.client, that will currently print the domain list and mailing list lists.
This is, as Steve mentioned, like the git interface
You can find it here
https://github.com/rajeevs1992/mailman-cli/blob/master/client
*Usage:*
To list the registered domains in your server, do
- ./client domain --list
To list the registered mailing lists in your server, do
- ./client list --list
For help with options available, do
- ./client -h
*Regards,Rajeev S* *Government Engineering College,Thrissur* *http://rajeevs.tk <http://rajeevs.tk>*
On Wed, Mar 5, 2014 at 3:37 PM, Florian Fuchs <flo.fuchs@gmail.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 03/04/2014 10:49 AM, Stephen J. Turnbull wrote:
Rajeev S writes:
Also, I did not quite get the "*coming up with a **great layout *" part. Do you mean to build a custom shell for mailman? If yes, what extra functionality should it provide than the standard command line tools?
I think that probably is what he means, but I personally don't think that's appropriate. If people want a "CLI with layout" (which I agree is plausible), what's wrong with Postorius via Lynx? (Florian?)
No, that's not what I meant (using the term "layout" was obviously confusing - sorry for that!). I think we're talking about two possible, but very different concepts of a client here:
One is the one-off command (with options) that outputs a result, either on stdout or saved to a file. This could make for an interesting project, but I think then it would really make more sense (like Steve said) to extend the existing
mailman
command instead of writing a new one.The other (and the one I had in mind) is a tool you invoke with a commando which then offers a interface a little different from that of your standard terminal shell (bash or else). Just like you invoke the mysql/sqlite3 client (with a db name or file as option). What I meant by "layout" is really the question what happens after one starts the tool by typing something like
$ mmclient --list=foo@bar.id
" or$ mmclient --domain=python.org
", not the actual visual representation.Does that make more sense?
Florian
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTFvdqAAoJEEceGbPdavl76KIIAKLIsZEux/TPCSNV9sEQGJt1 s5gkIT298wZPPQfG+b2kllMO9o6uObQ0K10Ynk4yzLi1YngTyR1kC52Ty6uZ1pws YvD87o7DCeoZWDMss77+zvJkpkG+zFn4Ts3taeWW/9A1N9fJP22izgtm9aki+RLn 8nWn4jfTmnE3TvU8ptr/5uK0LPApfjMZz0mGCc6jgExdsJhVw11LU0Wzoxtw9424 1ygW2zWPcvdHTqykluvf62u24oTna641vNxE60LB9e4SF6LhS0Pi+F/w+m8zjNAT q3xY76yNlhZVI/N2cR4jinuUbagX61DSu7mgC4Kk08oyN6TgkS9kknlYrGupQ3c= =ufWT -----END PGP SIGNATURE-----