Maya - Python command plugin - arguments

Hi, fairly new to writing Python plugins and command plugins. But the command I’m trying to write requires a few lists to be passed to it as arguments. But from the documentation there doesn’t seem to be a way to do this. I am hoping that someone here could shed some light on this issue for me.

Thanks

James

Not 10 minutes later I find the solution. Seems that I have to join my lists into a string and then parse the string on the other end once it’s passed through the command.

i.e.

passGroupString = ",".join( passGroupNames ) #this turns a list of strings into a single string, separating items with commas