Commit 71ec6719 by Branch Vincent

fix(`cache clear`): default response to `True`

parent a613347b
......@@ -55,7 +55,7 @@ class CacheClearCommand(Command):
len(files) for _path, _dirs, files in os.walk(str(cache_dir))
)
delete = self.confirm(f"<question>Delete {entries_count} entries?</>")
delete = self.confirm(f"<question>Delete {entries_count} entries?</>", True)
if not delete:
return 0
......@@ -73,7 +73,7 @@ class CacheClearCommand(Command):
self.line(f"No cache entries for {package}:{version}")
return 0
delete = self.confirm(f"Delete cache entry {package}:{version}")
delete = self.confirm(f"Delete cache entry {package}:{version}", True)
if not delete:
return 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment