Did you consider Shell or Automation? Methinks Shell will take command line switches in the opening statement syntax. As for Automation, you can run macros (thus I presume functions as well) or open any form, so I suspect you can pass an argument to that function as well. Have to confess I've not done that so I'm just thinking out loud.
Can I say that if it's written and not spoken?
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.