I did do some digging into this topic and was dismayed to see that this didn't look possible. However, those older posts were maybe 7 or 8 years so I'm hopeful this may have been rectified by now...
I have a lengthy ocean script that runs a sim and plots results. The issue is that I have 3 different versions of the schematic so I'm looking for a sensible way to specify the schematic (or some other argument that can be used to do the job) when I load the ocean script on the command line. I could, of course, write 3 virtually identical scripts where each only differs in the schematic specified, but that's against my religion :-). Any ideas?