Add documentation for `uv add -r` (#10926)

Closes https://github.com/astral-sh/uv/issues/10924
This commit is contained in:
Zanie Blue 2025-01-23 21:34:50 -06:00 committed by GitHub
parent 42fae925c4
commit 6e4845fffb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -77,6 +77,14 @@ $ uv add "httpx>9999"
we can conclude that your project's requirements are unsatisfiable.
```
### Importing dependencies
Dependencies declared in a `requirements.txt` file can be added to the project with the `-r` option:
```
uv add -r requirements.txt
```
## Removing dependencies
To remove a dependency: