Skip to content

poetry cache clear --all Not enough arguments (missing: "cache") #9366

@brussee

Description

@brussee

Description

$ poetry cache clear --all       

Not enough arguments (missing: "cache")

Workarounds

$ poetry cache clear _default_cache

Add the --all option if you want to clear all _default_cache caches

Poetry Installation Method

pip

Operating System

Debian 12

Poetry Version

1.8.2

Poetry Configuration

cache-dir = "/home/paul/.cache/pypoetry"
experimental.system-git-client = false
installer.max-workers = null
installer.modern-installation = true
installer.no-binary = null
installer.parallel = true
keyring.enabled = true
solver.lazy-wheel = true
virtualenvs.create = true
virtualenvs.in-project = true
virtualenvs.options.always-copy = false
virtualenvs.options.no-pip = false
virtualenvs.options.no-setuptools = false
virtualenvs.options.system-site-packages = false
virtualenvs.path = "{cache-dir}/virtualenvs"  # /home/paul/.cache/pypoetry/virtualenvs
virtualenvs.prefer-active-python = false
virtualenvs.prompt = "{project_name}-py{python_version}"
warnings.export = true

Python Sysconfig

No response

Example pyproject.toml

No response

Poetry Runtime Logs

$ poetry -vvv cache clear --all

Not enough arguments (missing: "cache")

Metadata

Metadata

Assignees

Labels

area/cliRelated to the command linekind/featureFeature requests/implementations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions