Skip to content

Cannot clear "all" caches #1162

Closed
Closed

Description

@thejohnfreeman
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: Ubuntu 18.04
  • Poetry version: 1.0.0a3

Issue

poetry cache clear --all still expects a cache name (and there seems to be no commands for listing cache names).

$ poetry cache clear --all

[CannotParseArgsException]
Not enough arguments (missing: "cache").

Activity

  1. thejohnfreeman commented on Jun 11, 2019

    @thejohnfreeman
    ContributorAuthor

    Judging from this comment, there is a cache named pypi that has to be given. Perhaps the help message could be improved instead?

  2. added a commit that references this issue on Mar 8, 2020
  3. added a commit that references this issue on Mar 20, 2020
  4. Alexander171176 commented on Mar 1, 2023

    @Alexander171176

    Is it possible to explain to people using a code example ??
    for example:
    poetry cache clear PyPi --all
    Delete 86 entries? (yes/no) [yes] yes
    yes.

  5. github-actions commented on Feb 29, 2024

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  6. locked as resolved and limited conversation to collaborators on Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions