Shell commands mailman

Is it possible to use the shell commands of mailman? I will need to manage mailman lists and several lists have the same members. Managing the e-mail addresses of these members will be easier with command line access to mailman. Thanks.

I don’t see how that’d be possible since Mailman runs on a server where you don’t have command line access.
The closest I see is an API:

The announcement list API is for announcement lists, not discussion lists. There is currently no API to manage multiple discussion lists; please request one if you need it.