tldr-pages / tldr-python-client

Python command-line client for tldr pages
https://pypi.org/project/tldr/
MIT License
592 stars 92 forks source link

feat: add `--clear-cache` option #249

Open patricedenis opened 1 month ago

patricedenis commented 1 month ago

This PR is about adding an option to clear the local caches. It is supposed to delete the files that store the tldr pages locally on your computer. I was inspired by the same option that already exists on the tldr-node-client.

It may resolve #242 has after application, no local cache should remain on the storage. Also I'm not sure that the workflow automates the build of the man page (this is not modified in current PR). If not, I could try to modify the building workflow to allow that.

I would again be very pleased if someone could test this PR locally before merging if wanted because I haven't set a development environment yet.