For my 2.0 environment, I have scripts to dump list info, but i can't find the equivalent in mailman 3, for some commands, for example I use:
/usr/lib/mailman/bin/list_lists which equates in mailman3 to "mailman lists" /usr/lib/mailman/bin/list_members which equates in mailman3 to "mailman members [listname]"
But I also use /usr/lib/mailman/bin/list_admins [listname] /usr/lib/mailman/bin/config_list [listname]
Are there equivalent command line commands to get this info in mailman3?
The mailman3 "mailman withlist [listname]" takes me into an interactive prompt not sure where to go from there.
I can use the API
curl --user [ADMIN]:[password] http://[IP]]/3.1/lists/[listname]/config | python3 -m json.tool
But just curious if there is a command line equivalent like in mailman2?