Commit 0abdaf55 by Jonas Obrist Committed by Sébastien Eustace

Document the `--src` flag for `poetry new` (#193)

parent bab1750d
......@@ -54,6 +54,26 @@ the `--name` option:
poetry new my-folder --name my-package
```
If you want to use a src folder, you can use the `--src` option:
```bash
poetry new --src my-package
```
That will create a folder structure as follows:
```text
my-package
├── pyproject.toml
├── README.rst
├── src
│ └── my_package
│ └── __init__.py
└── tests
├── __init__.py
└── test_my_package
```
## init
This command will help you create a `pyproject.toml` file interactively
......
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