Skip to content

poetry cache clear no longer respects --no-interaction flag #6291

@graipher

Description

@graipher
  • 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 22.04
  • Poetry version: 1.2.0
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

Since poetry version 1.2.0, the poetry cache clear command no longer respects the --no-interaction flag:

$ poetry cache clear --all --no-interaction .
Delete 1882 entries? (yes/no) [no] ^C

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliRelated to the command linekind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions