Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
ae6f574b
Unverified
Commit
ae6f574b
authored
Oct 04, 2020
by
Andreas Peldszus
Committed by
GitHub
Oct 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the CLI 'cache clear' command
Resolves: #3065
parent
3f6220de
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
docs/docs/cli.md
+16
-0
No files found.
docs/docs/cli.md
View file @
ae6f574b
...
...
@@ -491,3 +491,19 @@ The `cache list` command lists Poetry's available caches.
```bash
poetry cache list
```
### cache clear
The `
cache clear
` command removes packages from a cached repository.
For example, to clear the whole cache of packages from the `
pypi
` repository, run:
```bash
poetry cache clear pypi --all
```
To only remove a specific package from a cache, you have to specify the cache entry in the following form `
cache:package:version
`:
```bash
poetry cache clear pypi:requests:2.24.0
``
`
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment