Not sure how to even ask this question, but suppos...
# plugins
a
Not sure how to even ask this question, but suppose I have a backend with an
experimental-deploy
goal. That goal runs a python file in a sandbox. How can a user of my backend pass command line arguments to the script? I did try just running
pants experimental-deploy src/mything -- --foo=bar --baz=quux
but those flags don't make it through to sys.argv in the process, which makes sense. My deploy rule is just constructing a Process and wrapping it up as a DeployProcess, but I'm unclear about how I would obtain additional, arbitrary, command line arguments for that Process. Is this a thing?
Aha, subsystem. Gotta go think about that for a bit.
g
a
Tis indeed, it's just that thing where you don't know what to even ask 😄 Once you know it's a subsystem that you need, it's all groovy.