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)