Options (2)
-n, --no-interactionbooleanCreate a `pyproject.toml` file without interaction (using defaults)
Example:
poetry init {{[-n|--no-interaction]}}-h, --helpbooleanDisplay help
Example:
poetry init {{[-h|--help]}}Examples (6)
Create a `pyproject.toml` file interactively
Create a `pyproject.toml` file with prefilled values
poetry init --name package_name --author "author_name <[email protected]>"Create a `pyproject.toml` file without interaction (using defaults)
poetry init [-n|--no-interaction]Create a `pyproject.toml` file and add a dependency
poetry init --dependency package_nameCreate a `pyproject.toml` file and add a development dependency
poetry init --dev-dependency package_nameDisplay help
poetry init [-h|--help]made by @shridhargupta | data from tldr-pages