From 46abf77480e4c709c1ed2bd36d40f709727d996a Mon Sep 17 00:00:00 2001 From: Sai Asish Y Date: Wed, 20 May 2026 23:40:27 -0700 Subject: [PATCH] docs: clarify what --no-cache disables --- docs/cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cli.md b/docs/cli.md index 4a950a9b2a5..cd03c98e5fa 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -43,7 +43,7 @@ This is useful in CI/CD pipelines or scripts where you cannot easily modify comm * `--version (-V)`: Display this application version. * `--no-interaction (-n)`: Do not ask any interactive question. * `--no-plugins`: Disables plugins. -* `--no-cache`: Disables Poetry source caches. +* `--no-cache`: Disables the use of [Poetry's caches]({{< relref "#cache" >}}) (cached package metadata and distfiles from configured package sources) for the duration of the command, forcing Poetry to behave as if it had a cold cache. This does not delete the caches; use `poetry cache clear` to remove cached data. * `--directory=DIRECTORY (-C)`: The working directory for the Poetry command (defaults to the current working directory). All command-line arguments will be resolved relative to the given directory. * `--project=PROJECT (-P)`: Specify another path as the project root. All command-line arguments will be resolved relative to the current working directory or directory specified using `--directory` option if used.