poetry init
Create a basic
pyproject.tomlfile interactively. More information: https://python-poetry.org/docs/cli/#init.
- Create a
pyproject.tomlfile interactively:
poetry init
- Create a
pyproject.tomlfile with prefilled values:
poetry init --name --author ""
- Create a
pyproject.tomlfile without interaction (using defaults):
poetry init
- Create a
pyproject.tomlfile and add a dependency:
poetry init --dependency
- Create a
pyproject.tomlfile and add a development dependency:
poetry init --dev-dependency
- Display help:
poetry init
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
