mirror of https://github.com/astral-sh/uv
Add documentation for `uv add -r` (#10926)
Closes https://github.com/astral-sh/uv/issues/10924
This commit is contained in:
parent
42fae925c4
commit
6e4845fffb
|
|
@ -77,6 +77,14 @@ $ uv add "httpx>9999"
|
||||||
we can conclude that your project's requirements are unsatisfiable.
|
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
|
## Removing dependencies
|
||||||
|
|
||||||
To remove a dependency:
|
To remove a dependency:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue