From 91b54dfcb9b2d2c1a772b12af7a93a6062d4c461 Mon Sep 17 00:00:00 2001 From: Benex254 Date: Wed, 7 Aug 2024 21:14:57 +0300 Subject: [PATCH] feat(cache): open cache dir on no options --- fastanime/cli/commands/cache.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fastanime/cli/commands/cache.py b/fastanime/cli/commands/cache.py index a872c29..9e709db 100644 --- a/fastanime/cli/commands/cache.py +++ b/fastanime/cli/commands/cache.py @@ -33,3 +33,7 @@ def cache(clean, path, size): fp = os.path.join(dirpath, f) total_size += os.path.getsize(fp) print("Total Size: ", sizeof_fmt(total_size)) + else: + import click + + click.launch(APP_CACHE_DIR)