From 2308f1e0e8f0333e7b902b223bb6417656ca45d3 Mon Sep 17 00:00:00 2001 From: arkohut <39525455+arkohut@users.noreply.github.com> Date: Mon, 4 Nov 2024 16:06:21 +0800 Subject: [PATCH] feat: scan --force by default --- memos/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memos/commands.py b/memos/commands.py index 16f9e40..77a0c8b 100644 --- a/memos/commands.py +++ b/memos/commands.py @@ -163,7 +163,7 @@ def get_or_create_default_library(): @app.command("scan") def scan_default_library( - force: bool = typer.Option(False, "--force", help="Force update all indexes"), + force: bool = typer.Option(True, "--force", help="Force update all indexes"), path: str = typer.Argument(None, help="Path to scan within the library"), plugins: List[int] = typer.Option(None, "--plugin", "-p"), folders: List[int] = typer.Option(None, "--folder", "-f"),