-
-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
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
✨ Allow passing cwd in tool.rye.scripts
#930
Comments
I checked PDM and pipenv, neither support setting cwd. We might just need to set the cwd to the project root. UPDATE: PDM is going to add a |
And npm run:
|
Hi 👋🏻
I'm using
tool.rye.scripts
for running django server from root of the project and it looks like below:Problem
If I'm already inside
src
dir and runrye run dev
then it gives error due to incorrect dir I'm in.Solution
Provide
cwd
option so we can run rye scripts from anywhere in the projectAnother benefit can be
cmd
option will be much cleaner.The text was updated successfully, but these errors were encountered: