commands.sh

poetry run

all

Run a command in the project's virtual environment.

More info →

Examples (4)

Run a command inside the virtual environment

Run a command with arguments

poetry run command argument1 argument2 ...

Run a script defined in `pyproject.toml`

poetry run script_name

Run a Python script

poetry run python path/to/script.py
made by @shridhargupta | data from tldr-pages