From 5551f12bb0a0d5ad34ce3557c57ae9901bfdb57f Mon Sep 17 00:00:00 2001 From: ZdenekSrotyr Date: Mon, 4 May 2026 18:42:21 +0200 Subject: [PATCH] =?UTF-8?q?fix(cli):=20hint=20text=20'Run:=20da=20sync'=20?= =?UTF-8?q?=E2=86=92=20'Run:=20agnes=20pull'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cli/commands/explore.py | 2 +- cli/commands/query.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/commands/explore.py b/cli/commands/explore.py index 347d89a..2134a21 100644 --- a/cli/commands/explore.py +++ b/cli/commands/explore.py @@ -28,7 +28,7 @@ def _explore_local(table: str, as_json: bool): local_dir = Path(os.environ.get("AGNES_LOCAL_DIR", ".")) db_path = local_dir / "user" / "duckdb" / "analytics.duckdb" if not db_path.exists(): - typer.echo("Local DuckDB not found. Run: da sync", err=True) + typer.echo("Local DuckDB not found. Run: agnes pull", err=True) raise typer.Exit(1) conn = duckdb.connect(str(db_path), read_only=True) diff --git a/cli/commands/query.py b/cli/commands/query.py index 4c8ff7e..35af5cc 100644 --- a/cli/commands/query.py +++ b/cli/commands/query.py @@ -68,7 +68,7 @@ def _query_local(sql: str, fmt: str, limit: int): local_dir = Path(os.environ.get("AGNES_LOCAL_DIR", ".")) db_path = local_dir / "user" / "duckdb" / "analytics.duckdb" if not db_path.exists(): - typer.echo("Local DuckDB not found. Run: da sync", err=True) + typer.echo("Local DuckDB not found. Run: agnes pull", err=True) raise typer.Exit(1) conn = duckdb.connect(str(db_path), read_only=True) @@ -115,7 +115,7 @@ def _query_hybrid(sql: str, fmt: str, limit: int, register_bq_specs: List[str]): local_dir = Path(os.environ.get("AGNES_LOCAL_DIR", ".")) db_path = local_dir / "user" / "duckdb" / "analytics.duckdb" if not db_path.exists(): - typer.echo("Local DuckDB not found. Run: da sync", err=True) + typer.echo("Local DuckDB not found. Run: agnes pull", err=True) raise typer.Exit(1) conn = duckdb.connect(str(db_path), read_only=True)