Commit 879761c3 by Bartosz Sokorski Committed by GitHub

Clarifying `scripts` section in docs (#5884)


Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
parent 2571a423
......@@ -336,10 +336,10 @@ This section describes the scripts or executables that will be installed when in
```toml
[tool.poetry.scripts]
poetry = 'poetry.console:run'
my_package_cli = 'my_package.console:run'
```
Here, we will have the `poetry` script installed which will execute `console.run` in the `poetry` package.
Here, we will have the `my_package_cli` script installed which will execute the `run` function in the `console` module in the `my_package` package.
To specify a script that [depends on an extra](#extras), you may provide an entry as an inline table:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment