We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{args}
The named scripts share {args} in unexpected ways. For example...
[tool.hatch.envs.default.scripts] echo1="echo {args:1}" echo2="echo {args:2}" echo3="echo {args:3}" echoall=["echo1 a", "echo2 b", "echo3 c"]
$ hatch run echoall cmd [1] | echo 1 1 cmd [2] | echo 2 2 cmd [3] | echo 3 3
Actual
$ hatch run echoall 4 cmd [1] | echo 4 a 4 a cmd [2] | echo 4 b 4 b cmd [3] | echo 4 c 4 c
Expected
$ hatch run echoall 4 cmd [1] | echo a a cmd [2] | echo b b cmd [3] | echo c c
The text was updated successfully, but these errors were encountered:
Nested scripts do not consume {args} but rather are concatenated https://hatch.pypa.io/latest/config/environment/overview/#scripts
Sorry, something went wrong.
This is a design decision and therefore won't be changed.
No branches or pull requests
The named scripts share
{args}
in unexpected ways. For example...Actual
Expected
The text was updated successfully, but these errors were encountered: