Replies: 1 comment
-
No, there isn't other than write another script |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am pretty sure this question had been asked but I cannot find the discussion post about it.
Let me use the example from the PDM doc
[tool.pdm.scripts]
cmd = "echo '--before {args} --after'"
shell = {shell = "echo '--before {args} --after'"}
composite = {composite = ["cmd --something", "shell {args}"]}
if I pass in an args "foo bar"
Instead of having "foo bar" passed to the cmd,shell...etc, can I just pass in "foo". I know the default answer is probably to use call and invoke another script, but is there a simpler way?
Beta Was this translation helpful? Give feedback.
All reactions