From 05e7c28093d87f5a1a76776fe97c7f2dd382743b Mon Sep 17 00:00:00 2001 From: Sergei Rybakov Date: Thu, 19 Sep 2024 17:54:17 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20unload=20(#73)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lamin_cli/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lamin_cli/__main__.py b/lamin_cli/__main__.py index 8c11a6e..18be739 100644 --- a/lamin_cli/__main__.py +++ b/lamin_cli/__main__.py @@ -152,7 +152,7 @@ def init(storage: str, db: Optional[str], schema: Optional[str], name: Optional[ # fmt: off @main.command() -@click.argument("instance", type=str, default=None) +@click.argument("instance", type=str, default=None, required=False) @click.option("--db", type=str, default=None, help="Update database URL.") # noqa: E501 @click.option("--storage", type=str, default=None, help="Update storage while loading.") @click.option("--unload", is_flag=True, help="Unload the current instance.")