Skip to content

Commit

Permalink
doc: poetry lock --no-update
Browse files Browse the repository at this point in the history
  • Loading branch information
paavanb authored and abn committed Apr 13, 2021
1 parent affabe0 commit f34e15f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,13 +465,18 @@ poetry search requests pendulum

This command locks (without installing) the dependencies specified in `pyproject.toml`.

!!!note

By default, this will lock all dependencies to the latest available compatible versions. To only refresh the lock file, use the `--no-update` option.

```bash
poetry lock
```

### Options

* `--check`: Verify that `poetry.lock` is consistent with `pyproject.toml`
* `--no-update`: Do not update locked versions, only refresh lock file.

## version

Expand Down

0 comments on commit f34e15f

Please sign in to comment.