average-breakfast-91545
03/24/2025, 9:41 PMexperimental-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?average-breakfast-91545
03/24/2025, 10:25 PMgorgeous-winter-99296
03/25/2025, 10:48 PMpassthrough=True
https://github.com/pantsbuild/pants/blob/efab3e40cedce5c31dcab729fe3ffb8b4314be3e/src/python/pants/backend/helm/subsystems/helm.py#L178average-breakfast-91545
03/25/2025, 10:58 PM