From 2c239ce8ab3327d005f89dc30fa195cc098cee50 Mon Sep 17 00:00:00 2001 From: Koncopd Date: Tue, 1 Oct 2024 20:33:24 +0200 Subject: [PATCH] Allow lamin cache set with non-existing directories --- lamin_cli/_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lamin_cli/_cache.py b/lamin_cli/_cache.py index c4833ab..0119178 100644 --- a/lamin_cli/_cache.py +++ b/lamin_cli/_cache.py @@ -15,7 +15,7 @@ def cache(): @cache.command("set") @click.argument( "cache_dir", - type=click.Path(exists=True, dir_okay=True, file_okay=False), + type=click.Path(dir_okay=True, file_okay=False), ) def set_cache(cache_dir: str): """Set the cache directory."""