Skip to content

Commit

Permalink
doc: poetry lock --no-update
Browse files Browse the repository at this point in the history
Resolves: #1614
  • Loading branch information
paavanb authored Apr 13, 2021
1 parent 24fcaf9 commit a5d562e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,10 +419,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

* `--no-update`: Do not update locked versions, only refresh lock file.

## version

This command shows the current version of the project or bumps the version of
Expand Down

0 comments on commit a5d562e

Please sign in to comment.