astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.6k stars 466 forks source link

Allow specifying script commands relative to the project root #1328

Open brandon-avantus opened 1 month ago

brandon-avantus commented 1 month ago

Command paths with a leading ./ have the project root prepended, which allows scripts in the project tree to be used with rye run even when the current directory is not the project root.