Having not received any replies to my original query, I'm going to try asking the same question with some different details.
I currently have a webmin setup in which I can clone the Custom Commands module and then go into my new module, edit the command I want to be able to run, parameters, etc...
I'm trying to take this process to the next level by adding some additional security through the use of Usermin (i.e. I only want people in groupA to run specific commands, people in groupB to run other commands, etc...)
I have installed webmin and usermin and have the authentication working. The problem I am running into currently is this. From within the Usermin Configuration portion of Webmin, I can clone the Custom Commands module and create a new module "ModuleA"
How do I edit "ModuleA" the same way I used to edit it in Webmin, where I could update the command name, parameters, which user runs the command, etc...?