File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,6 +91,11 @@ def _format_progress(progress: IndexingProgress) -> str:
9191 )
9292
9393
94+ def print_project_header (project_root : str ) -> None :
95+ """Print the project root directory."""
96+ _typer .echo (f"Project: { project_root } " )
97+
98+
9499def print_index_stats (status : ProjectStatusResponse ) -> None :
95100 """Print formatted index statistics."""
96101 if status .progress is not None :
@@ -261,6 +266,7 @@ def init(
261266def index () -> None :
262267 """Create/update index for the codebase."""
263268 client , project_root = require_daemon_for_project ()
269+ print_project_header (project_root )
264270
265271 _run_index_with_progress (client , project_root )
266272
@@ -310,6 +316,7 @@ def search(
310316def status () -> None :
311317 """Show project status."""
312318 client , project_root = require_daemon_for_project ()
319+ print_project_header (project_root )
313320 resp = client .project_status (project_root )
314321 print_index_stats (resp )
315322
You can’t perform that action at this time.
0 commit comments