3 ms·
> I also wish there was a npm style script section in the definitions. Is that like [tool.poetry.scripts] ?
by j88439h84 7y ago
> I also wish there was a npm style script section in the definitions.
Is that like [tool.poetry.scripts] ?
- xzel 7y agoI don't think so. From their docs: > This section describe the scripts or executable that will be installed when installing the package I want something such that I can run `poetry run script_name` and it will run that command line in the poetry context. Right now I either rely on my bash history or use a bash script to mimic the behavior of npm / yarn scripts. I want to turn this `poetry run python project_name/main.py` into an alias like `poetry run main` or `poetry run dev`.