rye icon indicating copy to clipboard operation
rye copied to clipboard

Support for environment variables substitution in scripts

Open SamoylovMD opened this issue 6 months ago • 1 comments

Currently Rye doesn't support environment variables in scripts:

[tool.rye.scripts]
test_env = "echo $HOME"

What I expect:

$ rye run test_env
/home/username

But what I got instead is:

$ rye run test_env
$HOME

I think this would be a good addition to the current capabilities of scripting.

SamoylovMD avatar Aug 06 '24 12:08 SamoylovMD