719 B
719 B
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 {{package_name}} --author "{{author_name <email@example.com>}}"
- Create a
pyproject.tomlfile without interaction (using defaults):
poetry init {{[-n|--no-interaction]}}
- Create a
pyproject.tomlfile and add a dependency:
poetry init --dependency {{package_name}}
- Create a
pyproject.tomlfile and add a development dependency:
poetry init --dev-dependency {{package_name}}
- Display help:
poetry init {{[-h|--help]}}