Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add --clear-cache option #249

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Jun 28, 2024

  1. Update tldr.py : add clear_cache feature

    - add clear_cache function to clear the local cache
    - add the parser link to the fonction
    patricedenis authored Jun 28, 2024
    Configuration menu
    Copy the full SHA
    daa4031 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07856c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    66c0238 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9a326b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c710f61 View commit details
    Browse the repository at this point in the history
  6. Update tldr.py : fix clear cache option thanks to @kbdharun

    - Added iteration over multiple languages, handling non-English languages dynamically.
    - Implemented recursive directory traversal to delete files and subdirectories within cache directories.
    - Improved error handling with detailed messages for file and directory deletion failures.
    thanks to @kbdharun
    
    Co-authored-by: K.B.Dharun Krishna <[email protected]>
    patricedenis and kbdharun authored Jun 28, 2024
    Configuration menu
    Copy the full SHA
    9287bfa View commit details
    Browse the repository at this point in the history