Commit cbee6649 by Arun Babu Neelicattu

doc: add warning for --with and --without usage

parent 7248c2ec
......@@ -132,6 +132,15 @@ You can also opt in [optional groups]({{< relref "#optional-groups" >}}) by usin
poetry install --with docs
```
{{% warning %}}
When used together, `--without` takes precedence over `--with`. For example, the following command
will only install the dependencies specified in the `test` group.
```bash
poetry install --with docs --without test,docs
```
{{% /warning %}}
Finally, in some case you might want to install **only specific groups** of dependencies
without installing the default set of dependencies. For that purpose, you can use
the `--only` option.
......
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